aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-08-09 04:31:51 +0200
committerdec05eba <dec05eba@protonmail.com>2019-08-09 04:31:54 +0200
commit1e1960a14ae40c6743ea12dc0f9efe5e714e4bff (patch)
treefe2d672657b8c0aa6562287cecdd0612d483e149 /plugins
parente4f601efd73aa6d1821194cb81915c0a76fe8779 (diff)
Increase youtube search delay to prevent ip ban
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Youtube.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp
index f459630..6fc6039 100644
--- a/plugins/Youtube.hpp
+++ b/plugins/Youtube.hpp
@@ -9,7 +9,7 @@ namespace QuickMedia {
BodyItems get_related_media(const std::string &url) override;
bool search_suggestions_has_thumbnails() const override { return true; }
bool search_results_has_thumbnails() const override { return false; }
- int get_search_delay() const override { return 150; }
+ int get_search_delay() const override { return 500; }
bool search_suggestion_is_search() const override { return true; }
Page get_page_after_search() const override { return Page::VIDEO_CONTENT; }
};