aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/brightcove.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-18 22:05:32 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-18 22:05:32 +0600
commit7234d1d9c795bd43799de47952f65f72952e0564 (patch)
treec09f2846a47a7ffac2a8bd5f4fc746a8cfc7325a /youtube_dl/extractor/brightcove.py
parent9796a9b20ccc46217c27523774f5088d74e672bb (diff)
[brightcove:new] Add _extract_url
Diffstat (limited to 'youtube_dl/extractor/brightcove.py')
-rw-r--r--youtube_dl/extractor/brightcove.py5
1 files changed, 5 insertions, 0 deletions
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
@@ -390,6 +390,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:
# 1. http://docs.brightcove.com/en/video-cloud/brightcove-player/guides/publish-video.html#setvideoiniframe