youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 7234d1d9c795bd43799de47952f65f72952e0564
parent 9796a9b20ccc46217c27523774f5088d74e672bb
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 18 Dec 2015 22:05:32 +0600

[brightcove:new] Add _extract_url

Diffstat:
Myoutube_dl/extractor/brightcove.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git 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