projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9796a9b
)
[brightcove:new] Add _extract_url
author
Sergey M․
<dstftw@gmail.com>
Fri, 18 Dec 2015 16:05:32 +0000
(22:05 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 18 Dec 2015 16:05:32 +0000
(22:05 +0600)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index f5ebae1e68e456c158476a02d9df49feac97e02a..66b8d2dff7e1852dee76bc572acc39790ed48451 100644
(file)
--- 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: