diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-06-07 04:31:30 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-06-07 04:31:30 +0200 |
commit | a0dbe64272d051671bc120b1845c7485264b097d (patch) | |
tree | fdd5daf29cfd541624b9c5f06e9a171f7becd58b /include | |
parent | 5ccd94a771cf1031b837c7bc4d0baeab4b810a38 (diff) |
Add support for mangatown
Diffstat (limited to 'include')
-rw-r--r-- | include/DownloadUtils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/DownloadUtils.hpp b/include/DownloadUtils.hpp index 622f5fe..6af53ac 100644 --- a/include/DownloadUtils.hpp +++ b/include/DownloadUtils.hpp @@ -20,7 +20,7 @@ namespace QuickMedia { std::string value; }; - DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector<CommandArg> &additional_args, bool use_tor); - DownloadResult download_to_string_cache(const std::string &url, std::string &result, const std::vector<CommandArg> &additional_args, bool use_tor); + DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector<CommandArg> &additional_args, bool use_tor, bool use_browser_useragent = false); + DownloadResult download_to_string_cache(const std::string &url, std::string &result, const std::vector<CommandArg> &additional_args, bool use_tor, bool use_browser_useragent = false); std::vector<CommandArg> create_command_args_from_form_data(const std::vector<FormData> &form_data); }
\ No newline at end of file |