projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6375703
)
[extractor/common] Extract HTTP (possibly f4m) URLs from a .smil file
author
Antti Ajanki
<antti.ajanki@iki.fi>
Sun, 22 Feb 2015 08:18:36 +0000
(10:18 +0200)
committer
Antti Ajanki
<antti.ajanki@iki.fi>
Tue, 24 Feb 2015 19:22:59 +0000
(21:22 +0200)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 4fe99d25de7d615aeca56a1f9608e5053a77d522..31368820836f8d5d6f8ae571d508da40940221be 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-963,6
+963,14
@@
class InfoExtractor(object):
'width': width,
'height': height,
}], rtmp_count)
+ elif proto.startswith('http'):
+ return ([{
+ 'url': base + src,
+ 'ext': ext or 'flv',
+ 'tbr': bitrate,
+ 'width': width,
+ 'height': height,
+ }], rtmp_count)
def _live_title(self, name):
""" Generate the title for a live video """