From: Sergey M․ Date: Fri, 18 Dec 2015 16:05:32 +0000 (+0600) Subject: [brightcove:new] Add _extract_url X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=7234d1d9c795bd43799de47952f65f72952e0564;p=youtube-dl [brightcove:new] Add _extract_url --- diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index f5ebae1e6..66b8d2dff 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -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: