mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-18 07:41:28 -05:00
[teamcoco] Correct error
This commit is contained in:
parent
86bd5f2ca9
commit
cc13cc0251
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ def sort_key(f):
|
||||||
return -1
|
return -1
|
||||||
formats.sort(key=sort_key)
|
formats.sort(key=sort_key)
|
||||||
if not formats:
|
if not formats:
|
||||||
raise RegexNotFoundError(u'Unable to extract video URL')
|
raise ExtractorError(u'Unable to extract video URL')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
|
Loading…
Reference in a new issue