mirror of
https://source.netsyms.com/Mirrors/youtube-dl
synced 2024-11-03 03:40:20 +00:00
[escapist] pep8 fixes
This commit is contained in:
parent
b2e8e7dab5
commit
965cb8d530
@ -76,7 +76,8 @@ class EscapistIE(InfoExtractor):
|
||||
|
||||
formats = []
|
||||
for q in ['lq', 'hq', 'hd']:
|
||||
config_req = compat_urllib_request.Request('http://www.escapistmagazine.com/videos/'
|
||||
config_req = compat_urllib_request.Request(
|
||||
'http://www.escapistmagazine.com/videos/'
|
||||
'vidconfig.php?videoID=%s&hash=%s&quality=%s' % (video_id, key, 'mp4_' + q))
|
||||
config_req.add_header('Referer', url)
|
||||
config = self._download_webpage(config_req, video_id, 'Downloading video config ' + q.upper())
|
||||
@ -94,7 +95,6 @@ class EscapistIE(InfoExtractor):
|
||||
'quality': quality(q),
|
||||
})
|
||||
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
'formats': formats,
|
||||
|
Loading…
Reference in New Issue
Block a user