Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Youtube - Like and Dislike counters inside JSON sometimes empty #25825
Comments
|
Workaround diff for file youtube.py
|
Still empty for all the videos for me. Any advice? |
|
Use this patch:
|
It worked! Thank you! |
Youtube - Like and Dislike counter inside JSON sometimes empty:
$./youtube-dl --version
2020.06.16.1
Error with videos example:
$ ./youtube-dl -J https://www.youtube.com/watch?v=XSGBVzeBUbk | json_pp | grep -i count
"dislike_count" : null,
"view_count" : 16774885,
"like_count" : null,
$ ./youtube-dl -J https://www.youtube.com/watch?v=hzixp8s4pyg | json_pp | grep -i count
"like_count" : null,
"view_count" : 11937665,
"dislike_count" : null,
Good with videos example:
$ ./youtube-dl -J https://www.youtube.com/watch?v=rO0yXC0oyIA | json_pp | grep -i count
"dislike_count" : 625,
"view_count" : 2705803,
"like_count" : 31129,
$ ./youtube-dl -J https://www.youtube.com/watch?v=wTcNtgA6gHs | json_pp | grep -i count
"view_count" : 36788300,
"like_count" : 169235,
"dislike_count" : 3880,