mirror of https://github.com/yt-dlp/yt-dlp.git
fix exception
This commit is contained in:
parent
27ace98f51
commit
c3f0b12b0f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue