projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
100959a
)
[escapist] Fix syntax error
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 20 Nov 2013 05:55:07 +0000
(06:55 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 20 Nov 2013 05:55:07 +0000
(06:55 +0100)
youtube_dl/extractor/escapist.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/escapist.py
b/youtube_dl/extractor/escapist.py
index f9681fd436944ec7fa937d96e57a1d30ed63aefc..03ebb7c48ed1893c35222708cce809b43088771b 100644
(file)
--- a/
youtube_dl/extractor/escapist.py
+++ b/
youtube_dl/extractor/escapist.py
@@
-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,