Skip to content

A feature-rich command-line audio/video downloader

[brightcove:new] Add _extract_url

Sergey M․7234d1d9c795
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index f5ebae1e68..66b8d2dff7 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: