From a0dbe64272d051671bc120b1845c7485264b097d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 7 Jun 2020 04:31:30 +0200 Subject: Add support for mangatown --- include/DownloadUtils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/DownloadUtils.hpp') 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 &additional_args, bool use_tor); - DownloadResult download_to_string_cache(const std::string &url, std::string &result, const std::vector &additional_args, bool use_tor); + DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector &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 &additional_args, bool use_tor, bool use_browser_useragent = false); std::vector create_command_args_from_form_data(const std::vector &form_data); } \ No newline at end of file -- cgit v1.2.3