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

sohu broke --cn-verification-proxy support #5655

Closed
cowbert opened this issue May 9, 2015 · 3 comments
Closed

sohu broke --cn-verification-proxy support #5655

cowbert opened this issue May 9, 2015 · 3 comments

Comments

@cowbert
Copy link

@cowbert cowbert commented May 9, 2015

This just started happening this week. Sohu is returning 503 when used with --cn-verification-proxy even though playback is still supported with the unblock-youku browser plugin. (soimort/you-get is also failing).

c:\Python34\Scripts\youtube-dl.exe --verbose --cn-verification-proxy proxy.uku.im:8888 http://tv.sohu.com/20150408/n410951635.shtml
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--cn-verification-proxy', 'proxy.uku.im:8888', 'http://tv.sohu.com/20150408/n410951635.shtml']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2015.05.04
[debug] Python version 3.4.3 - Windows-8-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {}
[Sohu] 410951635: Downloading webpage
[Sohu] 410951635: Downloading JSON data for 2319043
ERROR: Unable to download JSON metadata: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Python34\lib\site-packages\youtube_dl\extractor\common.py", line 312, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 1708, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Python34\lib\urllib\request.py", line 469, in open
    response = meth(req, response)
  File "C:\Python34\lib\urllib\request.py", line 579, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python34\lib\urllib\request.py", line 507, in error
    return self._call_chain(*args)
  File "C:\Python34\lib\urllib\request.py", line 441, in _call_chain
    result = func(*args)
  File "C:\Python34\lib\urllib\request.py", line 587, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 9, 2015

Seems proxy.uku.im:8888 is partially broken. I've reported it to uku/Unblock-Youku#427. Try another verification proxy, or we'll have to implement DNS lookup functionality in youtube-dl.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 9, 2015

By the waqy, sohu extractor is originally broken, at least in Taiwan and on Travis-CI servers. I've updated it in 32060c6 and now it works for both places. It would be great if someone can confirm the updated version also works in Mainland Cihna.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 9, 2015

FWIW, another proxy provided by unblock youku project works for me. I'm closing this issue because the usuability of individual proxies is beyond the scope of youtube-dl.

@yan12125 yan12125 closed this May 9, 2015
yan12125 added a commit that referenced this issue May 20, 2015
The proxy is currently broken. See #5655 and uku/Unblock-Youku#427
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.