aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-07-24 23:28:25 +0200
committerdec05eba <dec05eba@protonmail.com>2021-07-24 23:28:25 +0200
commit561d446e6871b7aa80c71357d8b2ccf78e4a6a7b (patch)
tree6f5041dc8bfd29658355cdc5f509865549f15af8 /plugins
parent5a2bb738b05253287438df9f1a0bdb95fea92dd9 (diff)
Fix youtube copyrighted videos (revert back to watch?v= url)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Youtube.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp
index c89d68d..50412de 100644
--- a/plugins/Youtube.hpp
+++ b/plugins/Youtube.hpp
@@ -149,8 +149,7 @@ namespace QuickMedia {
PluginResult load(std::string &title, std::string &channel_url, std::vector<MediaChapter> &chapters) override;
void mark_watched() override;
private:
- PluginResult get_video_info(const std::string &video_id, Json::Value &json_root);
- PluginResult parse_video_response(Json::Value &json_root, std::string &title, std::string &channel_url, std::vector<MediaChapter> &chapters);
+ PluginResult parse_video_response(const Json::Value &json_root, std::string &title, std::string &channel_url, std::vector<MediaChapter> &chapters);
void parse_format(const Json::Value &format_json, bool is_adaptive);
void parse_formats(const Json::Value &streaming_data_json);
private: