1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-16 14:27:53 +00:00

[ign] flake8

This commit is contained in:
Sergey M․ 2015-12-26 03:17:56 +06:00
parent 9f0ee2a388
commit 607d65fbce

View File

@ -109,7 +109,7 @@ class IGNIE(InfoExtractor):
if page_type != 'video': if page_type != 'video':
multiple_urls = re.findall( multiple_urls = re.findall(
r'<param name="flashvars"[^>]*value="[^"]*?url=(https?://www\.ign\.com/videos/.*?)["&]', r'<param name="flashvars"[^>]*value="[^"]*?url=(https?://www\.ign\.com/videos/.*?)["&]',
webpage) webpage)
if multiple_urls: if multiple_urls:
entries = [self.url_result(u, ie='IGN') for u in multiple_urls] entries = [self.url_result(u, ie='IGN') for u in multiple_urls]
return { return {
@ -209,7 +209,7 @@ class PCMagIE(IGNIE):
'upload_date': '20150106', 'upload_date': '20150106',
'uploader_id': 'cozzipix@gmail.com', 'uploader_id': 'cozzipix@gmail.com',
} }
},{ }, {
'url': 'http://www.pcmag.com/article2/0,2817,2470156,00.asp', 'url': 'http://www.pcmag.com/article2/0,2817,2470156,00.asp',
'md5': '94130c1ca07ba0adb6088350681f16c1', 'md5': '94130c1ca07ba0adb6088350681f16c1',
'info_dict': { 'info_dict': {