Skip to content


Subversion checkout URL

You can clone with
Download ZIP


[Google+] Cannot handle URLs containing Unicode characters #17

soimort opened this Issue · 0 comments

1 participant

➜  Downloads  you-get -i平田梨奈/posts/M8r9dbkZdet
Traceback (most recent call last):
  File "/usr/bin/you-get", line 9, in <module>
    load_entry_point('you-get==0.2.10', 'console_scripts', 'you-get')()
  File "/usr/lib/python3.2/site-packages/you_get-0.2.10-py3.2.egg/you_get/", line 56, in main
    script_main('you-get', any_download, any_download_playlist)
  File "/usr/lib/python3.2/site-packages/you_get-0.2.10-py3.2.egg/you_get/", line 647, in script_main
    download_main(download, download_playlist, args, playlist, output_dir, merge, info_only)
  File "/usr/lib/python3.2/site-packages/you_get-0.2.10-py3.2.egg/you_get/", line 567, in download_main
    download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.2/site-packages/you_get-0.2.10-py3.2.egg/you_get/", line 49, in any_download, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.2/site-packages/you_get-0.2.10-py3.2.egg/you_get/downloader/", line 8, in googleplus_download
    html = get_html(url)
  File "/usr/lib/python3.2/site-packages/you_get-0.2.10-py3.2.egg/you_get/", line 89, in get_html
    content = get_response(url, faker).data
  File "/usr/lib/python3.2/site-packages/you_get-0.2.10-py3.2.egg/you_get/", line 78, in get_response
    response = request.urlopen(url)
  File "/usr/lib/python3.2/urllib/", line 138, in urlopen
    return, data, timeout)
  File "/usr/lib/python3.2/urllib/", line 369, in open
    response = self._open(req, data)
  File "/usr/lib/python3.2/urllib/", line 387, in _open
    '_open', req)
  File "/usr/lib/python3.2/urllib/", line 347, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.2/urllib/", line 1155, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.2/urllib/", line 1135, in do_open
    h.request(req.get_method(), req.selector,, headers)
  File "/usr/lib/python3.2/http/", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/", line 859, in putrequest
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-9: ordinal not in range(128)
@soimort soimort was assigned
@soimort soimort closed this in 3341bdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.