Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

基本上都报错urllib2.URLError: <urlopen error [Errno 61] Connection refused> #85

Open
daoser opened this issue Sep 2, 2014 · 0 comments

Comments

@daoser
Copy link

daoser commented Sep 2, 2014

daoser@daoser-MBP ~/Desktop> youku http://v.youku.com/v_show/id_XNzY0OTg3Nzgw.html
Downloading 8月31日IEM多伦多站小组赛 Flash(T) vs MC(P).flv ...
Traceback (most recent call last):
File "/usr/bin/youku", line 202, in
main()
File "/usr/bin/youku", line 199, in main
script_main('youku', youku_download, youku_download_playlist)
File "/Users/daoser/git/youku-lixian/common.py", line 287, in script_main
download(url, merge=merge)
File "/usr/bin/youku", line 135, in youku_download
youku_download_by_id(id2, title, output_dir, merge=merge)
File "/usr/bin/youku", line 128, in youku_download_by_id
download_urls(urls, title, file_type_of_url(urls[0]), total_size, output_dir, merge=merge)
File "/Users/daoser/git/youku-lixian/common.py", line 226, in download_urls
url_save(url, filepath, bar, refer=refer)
File "/Users/daoser/git/youku-lixian/common.py", line 75, in url_save
response = urllib2.urlopen(request)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/System/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 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 61] Connection refused>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant