mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 18:51:03 +01:00
[escapist] Fix syntax error
This commit is contained in:
parent
100959a6d9
commit
15ff3c831e
@ -66,13 +66,12 @@ def _add_format(name, cfgurl):
|
||||
})
|
||||
|
||||
_add_format(u'normal', configUrl)
|
||||
hq_url = (configUrl +
|
||||
('&hq=1' if '?' in configUrl else configUrl + '?hq=1'))
|
||||
try:
|
||||
hq_url = (configUrl +
|
||||
('&hq=1' if '?' in configUrl else configUrl + '?hq=1'))
|
||||
try:
|
||||
_add_format(u'hq', hq_url)
|
||||
except ExtractorError:
|
||||
pass # That's fine, we'll just use normal quality
|
||||
_add_format(u'hq', hq_url)
|
||||
except ExtractorError:
|
||||
pass # That's fine, we'll just use normal quality
|
||||
|
||||
return {
|
||||
'id': videoId,
|
||||
|
Loading…
Reference in New Issue
Block a user