1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-17 22:54:31 +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