diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-04-29 22:46:19 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-04-29 22:46:19 +0200 |
commit | 965cb8d530e4ced61a9bc42530f7f91b67c709e6 (patch) | |
tree | c0286b3942020b8ae870804ea8afab45945f15ec /youtube_dl/extractor/escapist.py | |
parent | b2e8e7dab567ed9b27817c5dd0cf173bc7fb8cfa (diff) |
[escapist] pep8 fixes
Diffstat (limited to 'youtube_dl/extractor/escapist.py')
-rw-r--r-- | youtube_dl/extractor/escapist.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/escapist.py b/youtube_dl/extractor/escapist.py index 600ebf078..8facf1185 100644 --- a/youtube_dl/extractor/escapist.py +++ b/youtube_dl/extractor/escapist.py @@ -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()) @@ -92,8 +93,7 @@ class EscapistIE(InfoExtractor): 'url': v, 'format_id': determine_ext(v) + '_' + q + str(i), 'quality': quality(q), - }) - + }) return { 'id': video_id, |