diff --git a/pafy/backend_youtube_dl.py b/pafy/backend_youtube_dl.py index d9a19a4..469abc9 100644 --- a/pafy/backend_youtube_dl.py +++ b/pafy/backend_youtube_dl.py @@ -49,8 +49,8 @@ def _fetch_basic(self): self._rating = self._ydl_info['average_rating'] 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) + self._likes = 0 + self._dislikes = 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']