0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +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: