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.
--download-archive not efficient (at least with SoundCloud, Vimeo) #19022
Comments
|
Unfortunately, that can't be changed, as the ID is returned at the same time as the other extracted data. This would require a large rewrite and wouldn't be much more efficient. |
|
This is not only inefficient, with SoundCloud it leads to IP blocking. Is there some way to have a flag to archive SoundCloud downloads with this part: |
Debugging the requests with |
I was referring to the way |
|
@ealgase @leonklingele I have a PR that fixes this specifically (just for Soundcloud), but while I was piecing together how this works, I found the extractor can be overhauled to reduce redundant API calls, but I felt it was beyond the scope of this issue (and I am admittedly not super-familiar with the codebase). |
…nload archive id when no explicit ie_key is provided (#19022)
|
Thanks for merging the fix, @dstftw. This issue also covers archive-inefficiency of Vimeo which I think has not been fixed, so can you please reopen? :-) |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.01.27. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Description of your issue, suggested solution and other information
The
--download-archiveoption can be used to record the IDs of downloaded files in an archive soyoutube-dldoes not attempt to download them again. This option works fine with YouTube itself, however doesn't with SoundCloud and Vimeo.When using the option with
[soundcloud:user],youtube-dlstill fetches the following information from the Internets:info JSONtrack urlm3u8 informationSteps to reproduce
Expected result
On the second execution,
youtube-dlshould skip the first song immediately without downloading any information about it.Actual result
The lines above marked with
# <--should not happen.Use
https://vimeo.com/stargateto reproduce with Vimeo.Issue related to #10733.