aboutsummaryrefslogtreecommitdiff
path: root/plugins/Page.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-03 20:29:20 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-03 20:29:20 +0100
commitae6fb457ca385540e0f9b1347ef9c3c84815b16d (patch)
tree67ef2e460062dc21e33269ffa54deb58d57b39b9 /plugins/Page.hpp
parent79a575beddfd23dd3103fdb41a9c5b176ee321f3 (diff)
Youtube add channel page, fix search pagination (update to correct continuation token)
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r--plugins/Page.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index db11a61..5f5af60 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -34,6 +34,7 @@ namespace QuickMedia {
// Note: the first page is 0
virtual PluginResult get_page(const std::string &str, int page, BodyItems &result_items) { (void)str; (void)page; (void)result_items; return PluginResult::OK; }
+ // TODO: Move to a subclass called VideoPage
virtual BodyItems get_related_media(const std::string &url);
DownloadResult download_json(Json::Value &result, const std::string &url, std::vector<CommandArg> additional_args, bool use_browser_useragent = false, std::string *err_msg = nullptr);