[brightcove] Fix _extract_url (closes #12782)

This commit is contained in:
Sergey M․ 2017-04-18 21:46:25 +07:00
parent bf1b87cd91
commit f631b55791
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
3 changed files with 4 additions and 4 deletions

View file

@ -484,8 +484,8 @@ class BrightcoveNewIE(InfoExtractor):
}]
@staticmethod
def _extract_url(webpage):
urls = BrightcoveNewIE._extract_urls(webpage)
def _extract_url(ie, webpage):
urls = BrightcoveNewIE._extract_urls(ie, webpage)
return urls[0] if urls else None
@staticmethod