1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Have the playlist handle searching for songs

This commit is contained in:
Phxntxm 2017-04-22 22:07:54 -05:00
parent c821adf87a
commit a30dae0735

View file

@ -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))