Disable dislikes

Ref: https://blog.youtube/news-and-events/update-to-youtube/
This commit is contained in:
Jesús
2021-12-26 13:29:55 -05:00
parent 99b70497f2
commit 92067638b1
3 changed files with 1 additions and 7 deletions

View File

@@ -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),