diff options
Diffstat (limited to 'src/plugins/Mangadex.cpp')
-rw-r--r-- | src/plugins/Mangadex.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index 6df0903..63ceb3f 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -64,7 +64,7 @@ namespace QuickMedia { CommandArg cookie_arg = { "-H", "cookie: mangadex_rememberme_token=" + rememberme_token }; std::string website_data; - if(download_to_string(url, website_data, {std::move(cookie_arg)}, is_tor_enabled(), true) != DownloadResult::OK) + if(download_to_string(url, website_data, {std::move(cookie_arg)}, true) != DownloadResult::OK) return SearchResult::NET_ERR; QuickMediaHtmlSearch html_search; @@ -121,7 +121,7 @@ namespace QuickMedia { std::string request_url = "https://mangadex.org/api/?id=" + title_url_extract_manga_id(url) + "&type=manga"; rapidjson::Document json_root; - DownloadResult result = download_to_json(request_url, json_root, {}, is_tor_enabled(), true); + DownloadResult result = download_to_json(request_url, json_root, {}, true); if(result != DownloadResult::OK) return download_result_to_plugin_result(result); if(!json_root.IsObject()) @@ -232,7 +232,7 @@ namespace QuickMedia { bool MangadexImagesPage::save_mangadex_cookies(const std::string &url, const std::string &cookie_filepath) { CommandArg cookie_arg = { "-c", cookie_filepath }; std::string server_response; - if(download_to_string(url, server_response, {std::move(cookie_arg)}, is_tor_enabled(), true) != DownloadResult::OK) + if(download_to_string(url, server_response, {std::move(cookie_arg)}, true) != DownloadResult::OK) return false; return true; |