[brightcove] PEP 8

pull/8/head
Sergey M․ 8 years ago
parent 5b995f713b
commit 481ef51e23
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -277,7 +277,7 @@ class BrightcoveLegacyIE(InfoExtractor):
return list(filter(None, [ return list(filter(None, [
cls._build_brighcove_url_from_js(custom_bc) cls._build_brighcove_url_from_js(custom_bc)
for custom_bc in matches])) for custom_bc in matches]))
return [url for _, url in re.findall( return [src for _, src in re.findall(
r'<iframe[^>]+src=([\'"])((?:https?:)?//link\.brightcove\.com/services/player/(?!\1).+)\1', webpage)] r'<iframe[^>]+src=([\'"])((?:https?:)?//link\.brightcove\.com/services/player/(?!\1).+)\1', webpage)]
def _real_extract(self, url): def _real_extract(self, url):

Loading…
Cancel
Save