1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-27 10:06:45 +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 @staticmethod
def _extract_urls(webpage): def _extract_urls(webpage):
# Reference: # Reference: