aboutsummaryrefslogtreecommitdiff
path: root/plugins/Youtube.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Youtube.hpp')
-rw-r--r--plugins/Youtube.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp
index 1e84af1..6ce62e8 100644
--- a/plugins/Youtube.hpp
+++ b/plugins/Youtube.hpp
@@ -35,6 +35,7 @@ namespace QuickMedia {
// Returns |url| if the url is already a youtube url
std::string invidious_url_to_youtube_url(const std::string &url);
bool youtube_url_extract_id(const std::string &youtube_url, std::string &youtube_video_id);
+ bool youtube_url_extract_channel_id(const std::string &youtube_url, std::string &channel_id, std::string &channel_url);
// |video_url| or |audio_url| will be empty if there is an error and false will be returned.
// If false is returned from |active_handler|, then this function is cancelled.
bool youtube_custom_redirect(std::string &video_url, std::string &audio_url, int64_t &video_content_length, int64_t &audio_content_length, std::function<bool()> active_handler);
@@ -113,7 +114,7 @@ namespace QuickMedia {
private:
PluginResult search_get_continuation(const std::string &url, const std::string &continuation_token, BodyItems &result_items);
private:
- const std::string url;
+ std::string url;
std::string continuation_token;
const std::string title;
int current_page = 0;