Skip to content

[YouTube] Failed again #135

Closed
soimort opened this Issue Mar 21, 2013 · 2 comments

1 participant

@soimort
Owner
soimort commented Mar 21, 2013
➜  Downloads  you-get -i youtu.be/YEgVll-lSF8
Traceback (most recent call last):
  File "/usr/bin/you-get", line 9, in <module>
    load_entry_point('you-get==0.3.5', 'console_scripts', 'you-get')()
  File "/usr/lib/python3.3/site-packages/you_get-0.3.5-py3.3.egg/you_get/__main__.py", line 72, in main
    script_main('you-get', any_download, any_download_playlist)
  File "/usr/lib/python3.3/site-packages/you_get-0.3.5-py3.3.egg/you_get/common.py", line 678, in script_main
    download_main(download, download_playlist, args, playlist, output_dir, merge, info_only)
  File "/usr/lib/python3.3/site-packages/you_get-0.3.5-py3.3.egg/you_get/common.py", line 598, in download_main
    download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get-0.3.5-py3.3.egg/you_get/__main__.py", line 65, in any_download
    m.download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get-0.3.5-py3.3.egg/you_get/downloader/youtube.py", line 61, in youtube_download
    youtube_download_by_id(id, None, output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get-0.3.5-py3.3.egg/you_get/downloader/youtube.py", line 13, in youtube_download_by_id
    yt_player_config = json.loads(r1(r'yt.playerConfig = ([^\n]+);\n', html))
  File "/usr/lib/python3.3/json/__init__.py", line 309, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.3/json/decoder.py", line 352, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
@soimort soimort was assigned Mar 21, 2013
@soimort
Owner
soimort commented Mar 21, 2013

And youtube-dl handles it fine.

@soimort soimort added a commit that closed this issue Mar 22, 2013
@soimort YouTube: fix #135 df740c1
@soimort soimort closed this in df740c1 Mar 22, 2013
@soimort
Owner
soimort commented Mar 22, 2013

Ninja fix.

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.