aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Youtube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Youtube.cpp')
-rw-r--r--src/plugins/Youtube.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp
index 0f0ca05..3660810 100644
--- a/src/plugins/Youtube.cpp
+++ b/src/plugins/Youtube.cpp
@@ -75,7 +75,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 {
@@ -164,7 +164,7 @@ namespace QuickMedia {
}
std::string website_data;
- if(download_to_string(modified_url, website_data) != DownloadResult::OK)
+ if(download_to_string(modified_url, website_data, {}, use_tor) != DownloadResult::OK)
return result_items;
QuickMediaHtmlSearch html_search;