mirror of
https://github.com/ytdl-org/ytdl-nightly.git
synced 2024-12-23 13:32:08 +01:00
[ign] flake8
This commit is contained in:
parent
9f0ee2a388
commit
607d65fbce
@ -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': {
|
||||||
|
Loading…
Reference in New Issue
Block a user