From 4352474674deb82fc8def9c21c0ee55f43720668 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sat, 4 Dec 2021 16:33:05 +0000 Subject: removed getting dislikes --- subreddit.py | 3 +-- ytapi.py | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/subreddit.py b/subreddit.py index f4eb8fe..f36f11b 100755 --- a/subreddit.py +++ b/subreddit.py @@ -225,7 +225,7 @@ Title|%s Thumbnail|[Link](%s) Views|%s Length|%s -Likes/Dislikes|%s/%s +Likes|%s Comments|%s Description|%s @@ -244,7 +244,6 @@ Views|%s ytdata["views"], ytdata["length"], ytdata["likes"], - ytdata["dislikes"], ytdata["comments"], ytdata["description"], ytdata["channel"], diff --git a/ytapi.py b/ytapi.py index 509cb7f..582efcd 100755 --- a/ytapi.py +++ b/ytapi.py @@ -24,7 +24,6 @@ ERROR_DICT = { "length": "ERROR Video deleted?", "views": "ERROR Video deleted?", "likes": "ERROR Video deleted?", - "dislikes": "ERROR Video deleted?", "comments": "ERROR Video deleted?" } @@ -95,7 +94,6 @@ def get_video_data(videoId): "length": _yt_time_to_norm(length), "views": stats["viewCount"], "likes": stats["likeCount"], - "dislikes": stats["dislikeCount"], "comments": stats["commentCount"] } -- cgit v1.2.3