aboutsummaryrefslogtreecommitdiffstats
path: root/ytapi.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2021-12-04 16:33:05 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2021-12-04 16:33:05 +0000
commit4352474674deb82fc8def9c21c0ee55f43720668 (patch)
treebc25b21a803697a675c9df48df1629283e05ebe7 /ytapi.py
parent171daf88a753d5683dda695ff83013ae90a76809 (diff)
downloadSmallYTChannelBot-4352474674deb82fc8def9c21c0ee55f43720668.tar.gz
SmallYTChannelBot-4352474674deb82fc8def9c21c0ee55f43720668.zip
removed getting dislikes
Diffstat (limited to 'ytapi.py')
-rwxr-xr-xytapi.py2
1 files changed, 0 insertions, 2 deletions
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"]
}