-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'dislike_count' in pafy #1180
Comments
It looks like pafy already has a pull request for this, which takes the same approach: mps-youtube/pafy#305 |
i found the error and solution on my own, i was going to create a pull request for their fix on github. thx |
how do you fix the problem ? |
Thanks man |
But is it going to make in the repo and a release any time soon? This repo hasn't seen any commits in a while, is there some fork of it that is maintained? |
@Ciliane there's a more-maintained fork at https://github.com/otisdog8/termitube/ but they haven't merged their PR yet either |
@yardenac That repo is a fork of mps-youtube, but the edits need to take place in both that and pafy, which are maintained as separate projects. The pull request I linked to is the one for the pafy repo. So far as I know, there isn't a fork for that one yet. As for termitube, it hasn't had any commits for about two and a half months either, and the project doesn't have an Issues tab so it's difficult to report issues with it. Hopefully they'll accept the pull request, but as I say, pafy needs to be updated as well. |
was fixed iamtalhaasghar#3. |
I think the API no longer returns dislike counts (given the recent Youtube fiasco with removing dislikes...), and now pafy will throw an exception when playing a video.
Issue / Suggestion
The easiest fix is to go into
site-packages/pafy/backend_youtube_dl.py
and comment out this lineYour Environment
The text was updated successfully, but these errors were encountered: