-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Likes and Dislikes both return as None. #25977
Comments
Try to use this patch for file youtube.py:
|
short and it work. Thank you RomanEmelyanov I will be happy if you solve this way #25945 The div is of class "reason" |
Thanks for replaying this, helped a lot! |
The comment_count has the same problem, it always give 0 as output. Do you have a patch for this? |
Just replace this function in file youtube.py:
|
Marvelous, you are my savior RomanEmelyanov. One more time, it work and your code look so simple. One question: why a new version of youtube-dl is so long to come after you have published a solution ? |
Taking a wild guess here, it may be because no maintainer of the repo who'd be authorized to merge the PRs has seen the tickets or experienced this bug in their own usage yet. The urgency of this issue is of course pretty drastic, but also means we experience the lack of an official fix as even slower I take it. :) I mean, it's not like it's hard to "bury" important things in this repo: 😛 |
Thanks again RomanEmelyanov, but your code need some more work. I have tried to solve it by myself, but in vain. Here is my code
Unfortunately this code return only "Video unavailable" just as yours. I'm lost. even this one doesn't work at all
really, I'm lost in the dark |
Code not perfect but works for me:
|
Your code work for me too (before you edited it), Thank you RomanEmelyanov I rewrote it like this to keep the carriage return of current youtube-dl code
Not a nice code, but readable and it work like expected... for now |
Checklist
Question
WRITE QUESTION HERE
When attempting to get info from a video, like_count and dislike_count both return as None.
Output of a program to get info from a video:
Views : 159370 Likes : None Dislikes : None Length : 90
The text was updated successfully, but these errors were encountered: