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

Not retrying downloads on many errors. #23364

Closed
bjbdragon opened this issue Dec 9, 2019 · 0 comments
Closed

Not retrying downloads on many errors. #23364

bjbdragon opened this issue Dec 9, 2019 · 0 comments
Labels

Comments

@bjbdragon
Copy link

@bjbdragon bjbdragon commented Dec 9, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.11.28
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[download] Downloading video 691 of 1187
[youtube] DbzbMRTRTYs: Downloading webpage
ERROR: Unable to download webpage: No status line received - the server has clos
ed the connection (caused by BadStatusLine('No status line received - the server has closed the connection',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in
_request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlope
n
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 2727, in https_open
req, **kwargs)
File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1137, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 448, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 412, in _read_status
raise BadStatusLine("No status line received - the server has closed the connection")

Description

I'm encountering a sporadic issue where youtube-dl fails as shown above, but this occurs frequently when doing massive youtube channel dumps. As an example, I downloaded with these parameters. I would have expected youtube-dl to retry the download.

youtube-dl --verbose -R infinite https://www.youtube.com/user/grayfurnaceman

@dstftw dstftw closed this Dec 10, 2019
@dstftw dstftw added the duplicate label Dec 10, 2019
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.