Have the playlist handle searching for songs
This commit is contained in:
parent
c821adf87a
commit
a30dae0735
|
@ -62,7 +62,7 @@ class Playlist(EventEmitter):
|
|||
raise ExtractionError('Could not extract information from %s' % song_url)
|
||||
else:
|
||||
info = info['entries'][0]
|
||||
song_url = info['']
|
||||
song_url = info['webpage_url']
|
||||
else:
|
||||
raise WrongEntryTypeError("This is a playlist.", True, info.get('webpage_url', None) or info.get('url', None))
|
||||
|
||||
|
|
Loading…
Reference in a new issue