Browse Source

[escapist] Fix syntax error

rtmp_test
Philipp Hagemeister 11 years ago
parent
commit
15ff3c831e
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      youtube_dl/extractor/escapist.py

+ 5
- 6
youtube_dl/extractor/escapist.py View File

@ -66,13 +66,12 @@ class EscapistIE(InfoExtractor):
})
_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…
Cancel
Save