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

youtube-dl not working #2172

Closed
ram1123 opened this issue Jan 18, 2014 · 7 comments
Closed

youtube-dl not working #2172

ram1123 opened this issue Jan 18, 2014 · 7 comments

Comments

@ram1123
Copy link

@ram1123 ram1123 commented 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

@Elite
Copy link

@Elite Elite commented Jan 19, 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
@phihag
Copy link
Contributor

@phihag phihag commented Jan 19, 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 phihag closed this Jan 19, 2014
@ram1123
Copy link
Author

@ram1123 ram1123 commented 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//issues/2172#issuecomment-32700036
.

@phihag
Copy link
Contributor

@phihag phihag commented 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 phihag reopened this Jan 19, 2014
@ram1123
Copy link
Author

@ram1123 ram1123 commented 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//issues/2172#issuecomment-32705341
.

@phihag
Copy link
Contributor

@phihag phihag commented 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 phihag closed this Jan 19, 2014
@ArchieGu
Copy link

@ArchieGu ArchieGu commented 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 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.