Closed AxlMemote closed 1 year ago
Youtube has changed the dislike
functionality : you can still vote to dislike a video, but there is no dislike count displayed with the video, thus this key is no more available in the video description.
the dislike key error has been fixed... but for some reason the pafy that came with mps-youtube didnt have these changes (the fix was already from 10 months ago from today)
https://github.com/mps-youtube/pafy/commit/110bf7c01dcf57ec4e6e327e0c7907a4099d6933
just replace the old backend_youtube_dl.py
with the new one from https://github.com/mps-youtube/pafy/blob/110bf7c01dcf57ec4e6e327e0c7907a4099d6933/pafy/backend_youtube_dl.py
or just change the
self._dislikes = self._ydl_info['dislike_count']
to
self._dislikes = self._ydl_info.get('dislike_count', 0)
the default location is:
/usr/local/lib/python3.8/site-packages/pafy/backend_youtube_dl.py
closed in favor of #1180
Hello, there was problem with quota limit so I set my own API, however, I get this whenever I start playing anything: