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

Unable to download webpage #6083

Closed
kaaboaye opened this issue Jun 25, 2015 · 5 comments
Closed

Unable to download webpage #6083

kaaboaye opened this issue Jun 25, 2015 · 5 comments

Comments

@kaaboaye
Copy link

@kaaboaye kaaboaye commented Jun 25, 2015

When I try to download any video on my Raspberry pi 2b i see this error
ERROR: Unable to download webpage: <urlopen error [Errno 0] Error> (caused by URLError(OSError(0, 'Error'),))

I have Internet connection.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 25, 2015

Post the full output of youtube-dl when run with --verbose option.

@kaaboaye
Copy link
Author

@kaaboaye kaaboaye commented Jun 25, 2015

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Q-XNWMSxmBo']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.04.1
[debug] Python version 3.4.3 - Linux-4.0.6-1-ARCH-armv7l-with-arch
[debug] exe versions: ffmpeg 2.7.1, ffprobe 2.7.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Q-XNWMSxmBo: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 0] Error> (caused by URLError(OSError(0, 'Error'),))
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 312, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1730, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.4/urllib/request.py", line 463, in open
response = self._open(req, data)
File "/usr/lib/python3.4/urllib/request.py", line 481, in _open
'_open', req)
File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
result = func(_args)
File "/usr/lib/python3.4/site-packages/youtube_dl/utils.py", line 713, in https_open
req, *_kwargs)
File "/usr/lib/python3.4/urllib/request.py", line 1184, in do_open
raise URLError(err)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 25, 2015

What's the output of wget -d https://www.youtube.com/watch?v=Q-XNWMSxmBo?

@kaaboaye
Copy link
Author

@kaaboaye kaaboaye commented Jun 25, 2015

DEBUG output created by Wget 1.16.3 on linux-gnueabihf.

URI encoding = UTF-8' --2015-06-25 16:47:54-- https://www.youtube.com/watch?v=Q-XNWMSxmBo Translacja www.youtube.com (www.youtube.com)... nieudane: Sukces. wget: nie udało się rozwiązać adresu hostawww.youtube.com'

Translation:

Translaction www.youtube.com (www.youtube.com)...Failed: Success.
wget: unable to resolve host address `www.youtube.com'

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 25, 2015

wget: unable to resolve host address `www.youtube.com'

That's it. You should fix your DNS.

@dstftw dstftw closed this Jun 25, 2015
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.