aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-12-02 02:38:57 +0100
committerdec05eba <dec05eba@protonmail.com>2021-12-02 02:38:57 +0100
commit899669eda8441fb6bbfde8da3cc78ee1fff5212e (patch)
treedda5d6faf6a6bd9a1dcde3e64cb79b7d7f82d1fa /plugins
parent3d2bb79144aa63d691da46da7a77d8be868368cd (diff)
Fix youtube dislike count if a video has more dislikes than likes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Youtube.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp
index a0c2e16..2a3b36e 100644
--- a/plugins/Youtube.hpp
+++ b/plugins/Youtube.hpp
@@ -174,7 +174,7 @@ namespace QuickMedia {
private:
std::string timestamp;
std::string comments_continuation_token;
- int64_t likes = -1;
+ int64_t num_likes = -1;
std::string livestream_url;
std::vector<YoutubeVideoFormat> video_formats;
std::vector<YoutubeAudioFormat> audio_formats;