diff options
Diffstat (limited to 'src/plugins/Pornhub.cpp')
-rw-r--r-- | src/plugins/Pornhub.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Pornhub.cpp b/src/plugins/Pornhub.cpp index 4955efd..c94532b 100644 --- a/src/plugins/Pornhub.cpp +++ b/src/plugins/Pornhub.cpp @@ -31,7 +31,7 @@ namespace QuickMedia { url += url_param_encode(text); std::string website_data; - if(download_to_string(url, website_data) != DownloadResult::OK) + if(download_to_string(url, website_data, {}, use_tor) != DownloadResult::OK) return SuggestionResult::NET_ERR; struct ItemData { @@ -86,7 +86,7 @@ namespace QuickMedia { BodyItems result_items; std::string website_data; - if(download_to_string(url, website_data) != DownloadResult::OK) + if(download_to_string(url, website_data, {}, use_tor) != DownloadResult::OK) return result_items; struct ItemData { |