1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-10 19:37:25 +00:00

fix exception

This commit is contained in:
Erik Johnson 2014-07-30 15:30:07 -05:00
parent 27ace98f51
commit c3f0b12b0f

View File

@ -122,6 +122,6 @@ class PatreonIE(InfoExtractor):
parser = PatreonHTMLParser()
parser.get_creation_info(info_page)
if not parser.creation_info.get('url'):
raise ExtractionError('Unable to retrieve creation URL')
raise ExtractorError('Unable to retrieve creation URL')
ret.update(parser.creation_info)
return ret