1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-26 01:55:49 +01: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 = PatreonHTMLParser()
parser.get_creation_info(info_page) parser.get_creation_info(info_page)
if not parser.creation_info.get('url'): 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) ret.update(parser.creation_info)
return ret return ret