aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-06-29 18:40:18 +0200
committerdec05eba <dec05eba@protonmail.com>2020-06-29 18:40:18 +0200
commit82e66059dc09087b625e25027922a9e3c3ccc6cd (patch)
tree1fb504d7cf66e22b700108c0d4d88e81898d0114 /plugins
parentcd606f9604379a783ffb25baaac1e4b1142314e6 (diff)
Get first next page of search results on youtube, request only json for first result as well
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Youtube.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp
index a676cd0..2eea8c2 100644
--- a/plugins/Youtube.hpp
+++ b/plugins/Youtube.hpp
@@ -14,6 +14,8 @@ namespace QuickMedia {
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;
};