diff options
author | remitamine <remitamine@gmail.com> | 2015-12-04 08:24:04 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2015-12-04 08:24:04 +0100 |
commit | fad2428f47428b75d7728c338ba61407e2b281bc (patch) | |
tree | 940ef2791daea16c60be42516c5e89d824f59a6e | |
parent | 60121eb5141ab8ad527ec94373a180ecd5030d78 (diff) |
[gameinformer] split long line
-rw-r--r-- | youtube_dl/extractor/gameinformer.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/gameinformer.py b/youtube_dl/extractor/gameinformer.py index 8bb764703..25870c131 100644 --- a/youtube_dl/extractor/gameinformer.py +++ b/youtube_dl/extractor/gameinformer.py @@ -10,7 +10,6 @@ class GameInformerIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?gameinformer\.com/(?:[^/]+/)*(?P<id>.+)\.aspx' _TEST = { 'url': 'http://www.gameinformer.com/b/features/archive/2015/09/26/replay-animal-crossing.aspx', - 'md5': 'TODO: md5 sum of the first 10241 bytes of the video file (use --test)', 'info_dict': { 'id': '4515472681001', 'ext': 'm3u8', @@ -29,7 +28,9 @@ class GameInformerIE(InfoExtractor): webpage = self._download_webpage(url, display_id) bc_api_url = self._search_regex(r"getVideo\('([^']+)'", webpage, 'brightcove api url') - json_data = self._download_json(bc_api_url + '&video_fields=id,name,shortDescription,publishedDate,videoStillURL,length,IOSRenditions', display_id) + json_data = self._download_json( + bc_api_url + '&video_fields=id,name,shortDescription,publishedDate,videoStillURL,length,IOSRenditions', + display_id) return { 'id': compat_str(json_data['id']), |