From 82e66059dc09087b625e25027922a9e3c3ccc6cd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 29 Jun 2020 18:40:18 +0200 Subject: Get first next page of search results on youtube, request only json for first result as well --- plugins/Youtube.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index a676cd0..2eea8c2 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -13,6 +13,8 @@ namespace QuickMedia { int get_search_delay() const override { return 350; } bool search_suggestion_is_search() const override { return true; } Page get_page_after_search() const override { return Page::VIDEO_CONTENT; } + private: + void search_suggestions_get_continuation(const std::string &url, const std::string &continuation_token, BodyItems &result_items); private: std::string last_related_media_playlist_id; BodyItems last_playlist_data; -- cgit v1.2.3