projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c7214c
)
[prosiebensat1] Add rtmpe support
author
Sergey M.
<dstftw@gmail.com>
Thu, 27 Feb 2014 10:52:52 +0000
(17:52 +0700)
committer
Sergey M.
<dstftw@gmail.com>
Thu, 27 Feb 2014 10:52:52 +0000
(17:52 +0700)
youtube_dl/extractor/prosiebensat1.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/prosiebensat1.py
b/youtube_dl/extractor/prosiebensat1.py
index ec31ee7d1e22cbf526a0d9ed19af03e8357e4663..71d7c772bf5ca5d67cb02854206be1ef7366cde9 100644
(file)
--- a/
youtube_dl/extractor/prosiebensat1.py
+++ b/
youtube_dl/extractor/prosiebensat1.py
@@
-263,8
+263,9
@@
class ProSiebenSat1IE(InfoExtractor):
return bitrate / 1000 if bitrate % 1000 == 0 else bitrate
for source in urls_sources:
- if source['protocol'] == 'rtmp':
- mobj = re.search(r'^(?P<url>rtmp://[^/]+/(?P<app>[^/]+))/(?P<playpath>.+)$', source['url'])
+ protocol = source['protocol']
+ if protocol == 'rtmp' or protocol == 'rtmpe':
+ mobj = re.search(r'^(?P<url>rtmpe?://[^/]+/(?P<app>[^/]+))/(?P<playpath>.+)$', source['url'])
if not mobj:
continue
formats.append({