From da1e75ad7a367872b27582e6b930b59067d9dde3 Mon Sep 17 00:00:00 2001 From: TotalChaos05 <70387628+TotalChaos05@users.noreply.github.com> Date: Fri, 15 Jul 2022 13:03:14 -0500 Subject: [PATCH] remoce broken dislike compatibility --- pafy/backend_youtube_dl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pafy/backend_youtube_dl.py b/pafy/backend_youtube_dl.py index d9a19a4..e0125cb 100644 --- a/pafy/backend_youtube_dl.py +++ b/pafy/backend_youtube_dl.py @@ -50,7 +50,8 @@ def _fetch_basic(self): self._length = self._ydl_info['duration'] self._viewcount = self._ydl_info['view_count'] self._likes = self._ydl_info.get('like_count', 0) - self._dislikes = self._ydl_info.get('dislike_count', 0) + #removed bc no more youtube dislikes :((((( + #self._dislikes = self._ydl_info.get('dislike_count', 0) self._username = self._ydl_info['uploader_id'] self._category = self._ydl_info['categories'][0] if self._ydl_info['categories'] else '' self._bestthumb = self._ydl_info['thumbnails'][0]['url']