0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[brightcove] PEP 8

This commit is contained in:
Sergey M․ 2017-04-19 21:47:03 +07:00
parent 5b995f713b
commit 481ef51e23
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -277,7 +277,7 @@ def _extract_brightcove_urls(cls, webpage):
return list(filter(None, [
cls._build_brighcove_url_from_js(custom_bc)
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)]
def _real_extract(self, url):