diff --git a/AUTHORS b/AUTHORS index 196c29c..71af118 100644 --- a/AUTHORS +++ b/AUTHORS @@ -9,3 +9,4 @@ hugovk ids1024 williamroot trygveaa +Cupcakus diff --git a/pafy/backend_youtube_dl.py b/pafy/backend_youtube_dl.py index d9a19a4..43009b2 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) + # As of November 2021, YT did away with dislike counts + #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']