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.
Make --download-archive work for single videos #8486
Comments
No, it won't:
|
|
Yes it does?
|
|
|
What's the content of archive? |
|
I had this exact issue on version 2015.12.13, but after updating to 2016.02.10 it works fine. |
|
@xDiglett Could you try with version 2016.02.10? |
|
It downloads video pages due to non-playlist URL. Generally download archive is expected to be used with playlist URLs. |
|
I've switched to a database to keep track of video files instead. I was using youtube-dl version 2016.02.05.1 |
|
@xDiglett Try |
When a video is already in the archive created by --download-archive youtube-dl will still fetch the video and info pages (for YouTube, at least). Since I am downloading a video, the code already has the IDs beforehand and could safely skip those steps.
I'm not sure if there is any reason it would want to check the page again but initially it seems unnecessary to download two pages and then decide to skip the download if it already has the information needed to skip all these steps beforehand (the video ID).
Thanks again!