mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-29 01:44:38 +01:00
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
Block a user