Closed snyamwong closed 1 year ago
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
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
It looks like pafy already has a pull request for this, which takes the same approach: mps-youtube/pafy#305
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.
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