Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count --max-downloads only if the file actually is downloaded #2349

Closed
davidhedlund opened this issue Feb 8, 2014 · 2 comments
Closed

Count --max-downloads only if the file actually is downloaded #2349

davidhedlund opened this issue Feb 8, 2014 · 2 comments
Labels

Comments

@davidhedlund
Copy link

@davidhedlund davidhedlund commented Feb 8, 2014

youtube-dl --version
2014.02.08

Etnica - Floating Universe
[youtube:search] query "Etnica - Floating Universe": Downloading page 1
[download] Downloading playlist: Etnica - Floating Universe
[youtube:search] playlist Etnica - Floating Universe: Collected 10 video ids (downloading 10 of them)
[download] Downloading video #1 of 10
[youtube] Setting language
[youtube] m34r0BLy5YU: Downloading webpage
[youtube] m34r0BLy5YU: Downloading video info webpage
[youtube] m34r0BLy5YU: Extracting video information
ERROR: unable to download video data: HTTP Error 410: Gone
[download] Downloading video #2 of 10
[youtube] V0mRSz6hXAA: Downloading webpage
[youtube] V0mRSz6hXAA: Downloading video info webpage
[youtube] V0mRSz6hXAA: Extracting video information
[info] Maximum number of downloaded files reached.
--max-download limit reached, aborting.

@jaimeMF jaimeMF added the request label Feb 8, 2014
@arrabal
Copy link

@arrabal arrabal commented Dec 17, 2015

I can confirm this is happening. For instance, if I try to download formats until I find a video smaller than 50Mb, I will use -f X,Y,Z,... --max-filesize 50MB --max-dowloads 1
If X is not downloaded because it is >50MB, it ends with:
[info] Maximum number of downloaded files reached.
--max-download limit reached, aborting.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 8, 2017

Duplicate of #1686.

@dstftw dstftw closed this May 8, 2017
@dstftw dstftw added duplicate and removed request labels May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.