Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Error downloading yahoo video: Unable to download webpage: <urlopen error [Errno 8] nodename nor servname provided, or not known> #1521
Comments
|
Interesting. I am getting the same error but if I open the url through requests I am able to successfully open it:
|
|
Fixed, thanks for the report! @yasoob the webpage was being downloaded fine, the problem was with the second request |
|
Ah okay |
|
Thanks for the quick turn around. Youtube-dl is awesome! |
|
I have a similar issue: [~/scripts]: python --version [~/scripts]: youtube-dl --version [~/scripts]: youtube-dl -x url https://myspace.com/spiderbags/music/song/bad-complexion-39008443-41298278 I am not sure why it throws an error that the "url doesn't specify the protocol". Running the command without the "url" argument causes the script to hang, as follows: [~/scripts]: youtube-dl -x https://myspace.com/spiderbags/music/song/bad-complexion-39008443-41298278 --verbose |
|
@orangeoval what is |
|
Damn you guys are quick around here. The -x is to post process the output into an audio-only file. From the help/documentation: "Post-processing Options: I do have an up-to-date ffmpeg, and running this same argument structure works for youtube videos, just not this myspace one. I get the same results without the "-x" fag as I do when using it, for what its worth. |
|
@orangeoval Your issue is completely separate. When you add I've opened a new issue for that (note that this issue is about yahoo video) in #2040. At the very bottom of the page there, there is a button to subscribe, please do that. |
|
Sorry about that. Still new to this process here, thanks for the quick and helpful feedback. |
jeffrey$ ~/dev/youtube/youtube-dl -t http://screen.yahoo.com/saturday-night-live-backstage-joe-000000791.html
[Yahoo] 000000791: Downloading webpage
[Yahoo] 000000791: Downloading info webpage
ERROR: Unable to download webpage: <urlopen error [Errno 8] nodename nor servname provided, or not known>
jeffrey$ python --version
Python 2.7.2
jeffrey$ ~/dev/youtube/youtube-dl --version
2013.09.24.2
jeffrey$ ~/dev/youtube/youtube-dl -t http://screen.yahoo.com/saturday-night-live-backstage-joe-000000791.html
[Yahoo] 000000791: Downloading webpage
[Yahoo] 000000791: Downloading info webpage
ERROR: Unable to download webpage: <urlopen error [Errno 8] nodename nor servname provided, or not known>
jeffrey$ ~/dev/youtube/youtube-dl --verbose http://screen.yahoo.com/saturday-night-live-backstage-joe-000000791.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://screen.yahoo.com/saturday-night-live-backstage-joe-000000791.html']
[debug] youtube-dl version 2013.09.24.2
[debug] Python version 2.7.2 - Darwin-12.5.0-x86_64-i386-64bit
[debug] Proxy map: {}
[Yahoo] 000000791: Downloading webpage
[Yahoo] 000000791: Downloading info webpage
ERROR: Unable to download webpage: <urlopen error [Errno 8] nodename nor servname provided, or not known>
File "/Users/jeffrey/dev/youtube/youtube-dl/youtube_dl/extractor/common.py", line 133, in _request_webpage
return compat_urllib_request.urlopen(url_or_request)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1199, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1174, in do_open
raise URLError(err)