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

check storage before sending out network requests #11401

Closed
treakiandroid opened this issue Dec 9, 2016 · 1 comment
Closed

check storage before sending out network requests #11401

treakiandroid opened this issue Dec 9, 2016 · 1 comment

Comments

@treakiandroid
Copy link

@treakiandroid treakiandroid commented Dec 9, 2016

Hi,

have a look at this:

$ youtube-dl https://bs.to/out/2474073
[generic] 2474073: Requesting header
[redirect] Following redirect to https://vivo.sx/4554d891b6
[Vivo] 4554d891b6: Downloading webpage
WARNING: "id" field is not a string - forcing string conversion
ERROR: unable to open for writing: [Errno 5] Input/output error: 'Doctor.Who.2005.S01E08.Vatertag.German.Dubbed.WS.DVDRiP.XviD.mp4-4554d891b6.mp4.part'

you see what, it is requesting all information which are needed to download through the world wide network until it has to find out that it cant store them locally. I think it would be a good idea to check if there is sufficient storage before doing anything else.

thanks

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 9, 2016

You don't know how many storage is needed in general beforehand until the whole extraction is finished.
This also may be an intermittent issue or not related to storage at all.

@dstftw dstftw closed this Dec 9, 2016
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
2 participants
You can’t perform that action at this time.