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

Youku extractor not work anymore #3038

Closed
Huarong opened this issue Jun 3, 2014 · 5 comments
Closed

Youku extractor not work anymore #3038

Huarong opened this issue Jun 3, 2014 · 5 comments
Labels

Comments

@Huarong
Copy link
Contributor

@Huarong Huarong commented Jun 3, 2014

The Youku extractor always work well utill today. I find whatever video I download, it will throw a error like this.

hhr@jyy-master:~/temp$ youtube-dl http://v.youku.com/v_show/id_XNjI0MTkxNjAw.html
[Youku] XNjI0MTkxNjAw: Downloading webpage
[Youku] XNjI0MTkxNjAw: Extracting information
ERROR: unable to download video data: <urlopen error [Errno 111] Connection refused>

I am using the laterst version.
Please help to fix this problem. Thank you.

@jaimeMF jaimeMF added the broken-IE label Jun 3, 2014
@Okona
Copy link

@Okona Okona commented Jun 3, 2014

I tried using a more elaborate User Agent (taken from the current Version of Safari - which works as browser):

$ youtube-dl --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4" http://v.youku.com/v_show/id_XNjI0MTkxNjAw.html
[Youku] XNjI0MTkxNjAw: Downloading webpage
[Youku] XNjI0MTkxNjAw: Extracting information
ERROR: unable to download video data: <urlopen error [Errno 61] Connection refused>

But also no avail.

@zmwangx
Copy link

@zmwangx zmwangx commented Jul 21, 2014

This issue doesn't include debugging info. Here's an example:

$ youtube-dl --verbose http://v.youku.com/v_show/id_XNzQzNTI2Njg4.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://v.youku.com/v_show/id_XNzQzNTI2Njg4.html']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2014.07.20.2
[debug] Python version 2.7.8 - Darwin-13.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[Youku] XNzQzNTI2Njg4: Downloading webpage
[Youku] XNzQzNTI2Njg4: Extracting information
[debug] Invoking downloader on u'http://f.youku.com/player/getFlvPath/sid/140590611049718883292_00/st/flv/fileid/030002010053CBBEDF408216C74C9DEC385EC5-B034-6065-B28E-58B9C34F09E5?k=57d4b6b16fa70bff2411e084'
ERROR: unable to download video data: <urlopen error [Errno 61] Connection refused>
Traceback (most recent call last):
  File "/Users/zmwang/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1022, in process_info
    success = dl(filename, info_dict)
  File "/Users/zmwang/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 998, in dl
    return fd.download(name, info)
  File "/Users/zmwang/bin/youtube-dl/youtube_dl/downloader/common.py", line 291, in download
    return self.real_download(filename, info_dict)
  File "/Users/zmwang/bin/youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "/Users/zmwang/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 61] Connection refused>
@Gohan
Copy link

@Gohan Gohan commented Oct 20, 2014

GohanMbp:~ gohan$ youtube-dl --verbose -F http://v.youku.com/v_show/id_XODA2NDI4NTc2.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-F', 'http://v.youku.com/v_show/id_XODA2NDI4NTc2.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.18
[debug] Python version 2.7.3 - Darwin-13.4.0-x86_64-i386-64bit
[debug] Proxy map: {}
[Youku] XODA2NDI4NTc2: Downloading JSON metadata
[debug] Invoking downloader on u'http://k.youku.com/player/getFlvPath/sid/141380834690018634342_00/st/flv/fileid/03000206005443114359CD05C59D06875AF978-931B-DC58-B829-91DB25A08854?k=4e4992d27d446443261df666'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1037, in process_info
success = dl(filename, info_dict)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1013, in dl
return fd.download(name, info)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/youtube_dl/downloader/common.py", line 292, in download
return self.real_download(filename, info_dict)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/youtube_dl/downloader/http.py", line 64, in real_download
data = self.ydl.urlopen(request)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1266, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

@johny1
Copy link

@johny1 johny1 commented Oct 31, 2014

I receive the same error when trying to download a file from youku. "ERROR: unable to download video data: HTTP Error 404: Not Found"

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 15, 2015

Thanks to @PeterDing's work (#5833), this video will be supported in the next version. Note that some videos mentioned in this issue are georestricted in Mainland China. A proxy or a China verification proxy is necessary.

@yan12125 yan12125 closed this Jun 15, 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
7 participants
You can’t perform that action at this time.