1
0
Fork 0
mirror of synced 2024-05-18 19:42:28 +12:00

Provide the rest of the settings needed for WrongEntryTypeError

This commit is contained in:
Phxntxm 2017-07-23 18:49:12 -05:00
parent 6e4c4703c2
commit 8f98b4ea95

View file

@ -62,7 +62,7 @@ class Playlist(EventEmitter):
raise ExtractionError('Could not extract information from %s' % playlist_url)
if info.get('playlist') is None:
raise WrongEntryTypeError('This is not a playlist!')
raise WrongEntryTypeError('This is not a playlist!', False, playlist_url)
# Once again, the generic extractor fucks things up.
if info.get('extractor', None) == 'generic':