mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-29 21:52:54 +00:00
[escapist] Fix syntax error
This commit is contained in:
parent
100959a6d9
commit
15ff3c831e
1 changed files with 5 additions and 6 deletions
|
@ -66,13 +66,12 @@ class EscapistIE(InfoExtractor):
|
||||||
})
|
})
|
||||||
|
|
||||||
_add_format(u'normal', configUrl)
|
_add_format(u'normal', configUrl)
|
||||||
|
hq_url = (configUrl +
|
||||||
|
('&hq=1' if '?' in configUrl else configUrl + '?hq=1'))
|
||||||
try:
|
try:
|
||||||
hq_url = (configUrl +
|
_add_format(u'hq', hq_url)
|
||||||
('&hq=1' if '?' in configUrl else configUrl + '?hq=1'))
|
except ExtractorError:
|
||||||
try:
|
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 {
|
return {
|
||||||
'id': videoId,
|
'id': videoId,
|
||||||
|
|
Loading…
Reference in a new issue