mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-04 10:42:04 +00:00
Bug fixes
Fix support for parsing some non-standard subscriptions. Change cURL User-Agent to subconverter/latest. Optimize codes.
This commit is contained in:
3 files changed
+13
-24
No files matched your search
+2
-1
@@ -7,7 +7,8 @@
|
||||
|
||||
extern bool print_debug_info;
|
||||
|
||||
std::string user_agent_str = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36";
|
||||
//std::string user_agent_str = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36";
|
||||
static std::string user_agent_str = "subconverter/latest cURL/7.xx-DEV";
|
||||
|
||||
static int writer(char *data, size_t size, size_t nmemb, std::string *writerData)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user