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.
[Request] Speed up --get-id on playlists #22493
Comments
|
Awesome, thank You very much! I see now that, on youtube.com, |
Checklist
Description
(I'm not familiar with the internals of youtube-dl, so correct me if i have made any false assumptions)
When running
youtube-dl --get-id <playlist url>the process is quite slow - as if youtube-dl downloads and parses the page of every single video to get its id. However, when downloading with a playlist withe the--download-archiveoption, youtube-dl is able to skip hundreds of videos within just a few seconds total.At least on sites like youtube.com, where the video id is part of the URL, youtube-dl should already have all video ids after parsing the playlists page. If there are other sites where youtube-dl can already obtain some information (not just limited to video ids) about the individual videos by just parsing the playlist page, it would be great to include them too.
It would be nice if youtube-dl could detect these cases and speed up its process by not downloading a ton of webpages wherever possible.
Ideally, things like the following should be possible in just a few seconds:
youtube-dl --get-filename -o '%(playlist_uploader)s/%(playlist_title)s/%(playlist_index)i_%(id)s.mkv'