Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Search results for i shot the sheriff [1/25>
> Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/", line 914, in _bootstrap_inner
File "/usr/lib/python3.5/", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/mps_youtube/", line 3497, in preload
stream = get_streams(song)
File "/usr/lib/python3/dist-packages/mps_youtube/", line 345, in get_streams
p = get_pafy(vid, force=force, callback=callback)
File "/usr/lib/python3/dist-packages/mps_youtube/", line 314, in get_pafy
p =, callback=callback_fn)
File "/usr/lib/python3/dist-packages/pafy/", line 148, in new
return Pafy(url, basic, gdata, signature, size, callback)
File "/usr/lib/python3/dist-packages/pafy/", line 866, in __init__
File "/usr/lib/python3/dist-packages/pafy/", line 892, in fetch_basic
smaps, js_url, mainfunc, dashurl = get_js_sm(self.videoid)
File "/usr/lib/python3/dist-packages/pafy/", line 481, in get_js_sm
dash_url = stream_info['dashmpd']
KeyError: 'dashmpd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment