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.
How to download the most popular playlist? #4148
Comments
|
I added an answer to the stackexchange question. If you want just the top 10 from a playlist, you can just add |
|
Thanks, it helps, but not for most popular. The grid list of the page is sorted by popularity (e.g. here), but when you click on it, only the playlist sorted by the recent ones is loaded. In other words when clicking on the most popular video, on playlist it's shown as on xx position (not the 1st). So it seems like dynamic Popularity playlist doesn't exist at all. But it's achievable only by reading the grid from the page ( So testing from the command-line:
and the first fetched video is |
|
You're right, that's strange. I checked on that for a few different usernames, and it appears that despite returning the correct order on the webpage, dynamically it always returns the newest-to-oldest order. |
|
I've been troubled with the same problem. Kind of annoying when you're trying to scrape the most popular videos from a channel and there is no ordered playlist available. Please report back if any solution surfaces. |
|
Some workaround using
However it'll download the videos only from the 1st page. |
|
Is this still an issue? I just realised I want this feature - google leads here. I had a quick look - it seems like any simple change to the code would break the fix for #5778. If you download uploads as a playlist you can't sort them. The relevant code is near ./youtube_dl/extractor/youtube.py:2043 |
|
This seems still to be an issue. Edit: A, found a workaround. In the Channel view I found a autogenerated playlist, presset "play all" and gave the link to youtube-dl with |
edit, now i found it too ^^ channel ----> home ----> popular uploads ----> play all copy the link and run
bash grammar narcissm ....
as bash script in one pipe:
[ i also added https ] but yes, this will only load the first page to get more than 200 "most popular" tracks .... pagination for "filtered lists" is available .... or load more results in the browser
|
|
So I need to download thumbnails for all the popular videos of a particular channel and when i try this method, youtube-dl gets stuck and i get output as it gets stuck in the same position after this with no other thumbnails being downloaded |
So far I've tried suggestion from here, but without success. Is there any way of downloading the playlist by most popular (e.g. top 10)?