youtube-dl not working #1730

Closed
opened 2026-02-20 22:16:26 -05:00 by deekerman · 7 comments
Owner

Originally created by @ram1123 on GitHub (Jan 18, 2014).

ramkrishna@ramkrishna$ youtube-dl -t "http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527"
[youtube:playlist] Downloading playlist PLPLDCA0C59984F46527 - add --no-playlist to just download video qT4nc92yQRM
[youtube:playlist] PLDCA0C59984F46527: Downloading page #1
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out>
ramkrishna@ramkrishna$ youtube-dl --version
2014.01.17.2
ramkrishna@ramkrishna$ python --version
Python 2.7.3

Originally created by @ram1123 on GitHub (Jan 18, 2014). ramkrishna@ramkrishna$ youtube-dl -t "http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527" [youtube:playlist] Downloading playlist PLPLDCA0C59984F46527 - add --no-playlist to just download video qT4nc92yQRM [youtube:playlist] PLDCA0C59984F46527: Downloading page #1 ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> ramkrishna@ramkrishna$ youtube-dl --version 2014.01.17.2 ramkrishna@ramkrishna$ python --version Python 2.7.3
Author
Owner

@Elite commented on GitHub (Jan 18, 2014):

Works fine for me -

C:\Users\kk\Desktop\>youtube-dl.exe http://www.youtube.com/watch?v=qT4nc9
2yQRM&list=PLDCA0C59984F46527
[youtube] Setting language
[youtube] qT4nc92yQRM: Downloading webpage
[youtube] qT4nc92yQRM: Downloading video info webpage
[youtube] qT4nc92yQRM: Extracting video information
[download] Destination: Iron Man   102   Rejoice I Am Ultimo, Thy Deliverer-qT4n
c92yQRM.mp4
[download]   0.3% of 73.13MiB at 208.67KiB/s ETA 05:57
ERROR: Interrupted by user
@Elite commented on GitHub (Jan 18, 2014): Works fine for me - ``` C:\Users\kk\Desktop\>youtube-dl.exe http://www.youtube.com/watch?v=qT4nc9 2yQRM&list=PLDCA0C59984F46527 [youtube] Setting language [youtube] qT4nc92yQRM: Downloading webpage [youtube] qT4nc92yQRM: Downloading video info webpage [youtube] qT4nc92yQRM: Extracting video information [download] Destination: Iron Man 102 Rejoice I Am Ultimo, Thy Deliverer-qT4n c92yQRM.mp4 [download] 0.3% of 73.13MiB at 208.67KiB/s ETA 05:57 ERROR: Interrupted by user ```
Author
Owner

@phihag commented on GitHub (Jan 18, 2014):

This is a network error, indicating that your connection went down. We may want to improve retrying for extraction, but simply rerunning the command (after you've verified that you now have an working Internet connection) should work. If you're on a really slow connection, you can also use the --socket-timeout option (like --socket-timeout 600), but that's unlikely to be the problem here.

I'm closing this issue now, since the error should be temporary in nature. If it isn't, and you can reproduce the issue, please comment so.

@phihag commented on GitHub (Jan 18, 2014): This is a network error, indicating that your connection went down. We may want to improve retrying for extraction, but simply rerunning the command (after you've verified that you now have an working Internet connection) should work. If you're on a really slow connection, you can also use the `--socket-timeout` option (like `--socket-timeout 600`), but that's unlikely to be the problem here. I'm closing this issue now, since the error should be temporary in nature. If it isn't, and you can reproduce the issue, please comment so.
Author
Owner

@ram1123 commented on GitHub (Jan 19, 2014):

Hello Philipp,

Actually my Internet connection is very good (~5-10Mbps) even-though I am
getting this. So, I think problem is something else.

With regards,
Ramkrishna Sharma

On Sun, Jan 19, 2014 at 8:48 AM, Philipp Hagemeister <
notifications@github.com> wrote:

This is a network error, indicating that your connection went down. We may
want to improve retrying for extraction, but simply rerunning the command
(after you've verified that you now have an working Internet connection)
should work. If you're on a really slow connection, you can also use the
--socket-timeout option (like --socket-timeout 600), but that's unlikely
to be the problem here.

I'm closing this issue now, since the error should be temporary in nature.
If it isn't, and you can reproduce the issue, please comment so.


Reply to this email directly or view it on GitHubhttps://github.com/rg3/youtube-dl/issues/2172#issuecomment-32700036
.

@ram1123 commented on GitHub (Jan 19, 2014): Hello Philipp, Actually my Internet connection is very good (~5-10Mbps) even-though I am getting this. So, I think problem is something else. With regards, Ramkrishna Sharma On Sun, Jan 19, 2014 at 8:48 AM, Philipp Hagemeister < notifications@github.com> wrote: > This is a network error, indicating that your connection went down. We may > want to improve retrying for extraction, but simply rerunning the command > (after you've verified that you now have an working Internet connection) > should work. If you're on a really slow connection, you can also use the > --socket-timeout option (like --socket-timeout 600), but that's unlikely > to be the problem here. > > I'm closing this issue now, since the error should be temporary in nature. > If it isn't, and you can reproduce the issue, please comment so. > > — > Reply to this email directly or view it on GitHubhttps://github.com/rg3/youtube-dl/issues/2172#issuecomment-32700036 > .
Author
Owner

@phihag commented on GitHub (Jan 19, 2014):

Unfortunately, even a good Internet connection with high bandwidth can be unavailable from time to time. Can you humor me and retry it once to make sure the error is permanent? Also, can you give me the full output of youtube-dl when called with the -v option? I.e. run

youtube-dl -v "http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527"

and post the entire output here. That output contains more information about the precise error.

@phihag commented on GitHub (Jan 19, 2014): Unfortunately, even a good Internet connection with high bandwidth can be unavailable from time to time. Can you humor me and retry it once to make sure the error is permanent? Also, can you give me the full output of youtube-dl when called with the `-v` option? I.e. run ``` youtube-dl -v "http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527" ``` and post the entire output here. That output contains more information about the precise error.
Author
Owner

@ram1123 commented on GitHub (Jan 19, 2014):

Hello Philipp,

Thank you very much for reply & reopen my problem.

Actually I got what is the problem. Before some time I set some proxy
temporarily. But now the present connection don't need it. And I don't know
why it is taking now that old proxy by default.

When I tried downloading with command:
youtube-dl --proxy "" "
http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527"

then its working. The output that you ask is below. Now could you please
tell me what should I do so that it will not use the old proxy by default.

youtube-dl -v "
http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '
http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.17.2
[debug] Python version 2.7.3 -
Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya
[debug] Proxy map: {'ftp': 'http://10.93.0.37:3333/', 'http': '
http://10.93.0.37:3333/', 'https': 'http://10.93.0.37:3333/', 'no':
'localhost,127.0.0.0/8'}
[youtube:playlist] Downloading playlist PLPLDCA0C59984F46527 - add
--no-playlist to just download video qT4nc92yQRM
[youtube:playlist] PLDCA0C59984F46527: Downloading page #1
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection
timed out>
File
"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py",
line 188, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py",
line 1116, in urlopen
return self._opener.open(req)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line
570, in https_open
return self.do_open(HTTPSConnectionV3, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)

Thanks & regards,
Ramkrishna Sharma

On Sun, Jan 19, 2014 at 4:13 PM, Philipp Hagemeister <
notifications@github.com> wrote:

Unfortunately, even a good Internet connection with high bandwidth can be
unavailable from time to time. Can you humor me and retry it once to make
sure the error is permanent? Also, can you give me the full output of
youtube-dl when called with the -v option? I.e. run

youtube-dl -v "http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527"

and post the entire output here. That output contains more information
about the precise error.


Reply to this email directly or view it on GitHubhttps://github.com/rg3/youtube-dl/issues/2172#issuecomment-32705341
.

@ram1123 commented on GitHub (Jan 19, 2014): Hello Philipp, Thank you very much for reply & reopen my problem. Actually I got what is the problem. Before some time I set some proxy temporarily. But now the present connection don't need it. And I don't know why it is taking now that old proxy by default. When I tried downloading with command: youtube-dl --proxy "" " http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527" then its working. The output that you ask is below. Now could you please tell me what should I do so that it will not use the old proxy by default. youtube-dl -v " http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527" [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', ' http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527'] [debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8' [debug] youtube-dl version 2014.01.17.2 [debug] Python version 2.7.3 - Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya [debug] Proxy map: {'ftp': 'http://10.93.0.37:3333/', 'http': ' http://10.93.0.37:3333/', 'https': 'http://10.93.0.37:3333/', 'no': 'localhost,127.0.0.0/8'} [youtube:playlist] Downloading playlist PLPLDCA0C59984F46527 - add --no-playlist to just download video qT4nc92yQRM [youtube:playlist] PLDCA0C59984F46527: Downloading page #1 ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 188, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1116, in urlopen return self._opener.open(req) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 570, in https_open return self.do_open(HTTPSConnectionV3, req) File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open raise URLError(err) Thanks & regards, Ramkrishna Sharma On Sun, Jan 19, 2014 at 4:13 PM, Philipp Hagemeister < notifications@github.com> wrote: > Unfortunately, even a good Internet connection with high bandwidth can be > unavailable from time to time. Can you humor me and retry it once to make > sure the error is permanent? Also, can you give me the full output of > youtube-dl when called with the -v option? I.e. run > > youtube-dl -v "http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527" > > and post the entire output here. That output contains more information > about the precise error. > > — > Reply to this email directly or view it on GitHubhttps://github.com/rg3/youtube-dl/issues/2172#issuecomment-32705341 > .
Author
Owner

@phihag commented on GitHub (Jan 19, 2014):

Great to hear that. You can simply unset your proxy the way you set it, most likely via a GUI or by editing /etc/environment.

@phihag commented on GitHub (Jan 19, 2014): Great to hear that. You can simply unset your proxy the way you set it, most likely via a [GUI](http://www.bloomgeek.com/anonimity/how-to-configure-a-system-wide-proxy-in-linux-mint) or by editing `/etc/environment`.
Author
Owner

@ArchieGu commented on GitHub (Aug 11, 2018):

Hi,
This is the information I got. Could you please tell me what went wrong?
Cus the crawler keeps telling me url does not exist.

[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2018.08.04 [debug] Python version 3.5.2 (CPython) - Linux-4.15.0-1019-azure-x86_64-with-Ubuntu-16.04-xenial [debug] exe versions: ffmpeg 4.0.2-static, ffprobe 4.0.2-static [debug] Proxy map: {} [youtube:playlist] Downloading playlist PLDCA0C59984F46527 - add --no-playlist to just download video qT4nc92yQRM [youtube:playlist] PLDCA0C59984F46527: Downloading webpage ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out'),)) File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 599, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 2211, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.5/urllib/request.py", line 466, in open response = self._open(req, data) File "/usr/lib/python3.5/urllib/request.py", line 484, in _open '_open', req) File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain result = func(*args) File "/usr/local/lib/python3.5/dist-packages/youtube_dl/utils.py", line 1102, in https_open req, **kwargs) File "/usr/lib/python3.5/urllib/request.py", line 1256, in do_open raise URLError(err)

Thank you.

@ArchieGu commented on GitHub (Aug 11, 2018): Hi, This is the information I got. Could you please tell me what went wrong? Cus the crawler keeps telling me url does not exist. `[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=qT4nc92yQRM&list=PLDCA0C59984F46527'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2018.08.04 [debug] Python version 3.5.2 (CPython) - Linux-4.15.0-1019-azure-x86_64-with-Ubuntu-16.04-xenial [debug] exe versions: ffmpeg 4.0.2-static, ffprobe 4.0.2-static [debug] Proxy map: {} [youtube:playlist] Downloading playlist PLDCA0C59984F46527 - add --no-playlist to just download video qT4nc92yQRM [youtube:playlist] PLDCA0C59984F46527: Downloading webpage ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out'),)) File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 599, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 2211, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.5/urllib/request.py", line 466, in open response = self._open(req, data) File "/usr/lib/python3.5/urllib/request.py", line 484, in _open '_open', req) File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain result = func(*args) File "/usr/local/lib/python3.5/dist-packages/youtube_dl/utils.py", line 1102, in https_open req, **kwargs) File "/usr/lib/python3.5/urllib/request.py", line 1256, in do_open raise URLError(err)` Thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#1730
No description provided.