1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

[brightcove:new] Add _extract_url

This commit is contained in:
Sergey M․ 2015-12-18 22:05:32 +06:00
parent 9796a9b20c
commit 7234d1d9c7

View file

@ -389,6 +389,11 @@ class BrightcoveNewIE(InfoExtractor):
}
}]
@staticmethod
def _extract_url(webpage):
urls = BrightcoveNewIE._extract_urls(webpage)
return urls[0] if urls else None
@staticmethod
def _extract_urls(webpage):
# Reference: