diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-26 13:29:55 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-26 13:29:55 -0500 |
commit | 92067638b10f8debbbfa4ffd4a3cd990a2c2149e (patch) | |
tree | 801bdac14a75040914f61c7770ff0cdd28063b67 /youtube/watch.py | |
parent | 99b70497f25cff562d60744b134b6ab4b10055ad (diff) | |
download | yt-local-92067638b10f8debbbfa4ffd4a3cd990a2c2149e.tar.lz yt-local-92067638b10f8debbbfa4ffd4a3cd990a2c2149e.tar.xz yt-local-92067638b10f8debbbfa4ffd4a3cd990a2c2149e.zip |
Disable dislikes
Ref: https://blog.youtube/news-and-events/update-to-youtube/
Diffstat (limited to 'youtube/watch.py')
-rw-r--r-- | youtube/watch.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/youtube/watch.py b/youtube/watch.py index c9a5f77..85b4bd9 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -694,7 +694,6 @@ def get_watch_page(video_id=None): time_published_utc=time_utc_isoformat(info['time_published']), view_count = (lambda x: '{:,}'.format(x) if x is not None else "")(info.get("view_count", None)), like_count = (lambda x: '{:,}'.format(x) if x is not None else "")(info.get("like_count", None)), - dislike_count = (lambda x: '{:,}'.format(x) if x is not None else "")(info.get("dislike_count", None)), download_formats = download_formats, other_downloads = other_downloads, video_info = json.dumps(video_info), |