aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/prosiebensat1.py
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-27 17:52:52 +0700
committerSergey M. <dstftw@gmail.com>2014-02-27 17:52:52 +0700
commit8a44ef6868c8f4a63d8ca9ab57c4c82cfef52cfe (patch)
tree9d82e04f3208578ae994a6e8689a4903ab03b810 /youtube_dl/extractor/prosiebensat1.py
parent0c7214c40432a634f86a9da4ee1ef0c83d62dc5e (diff)
[prosiebensat1] Add rtmpe support
Diffstat (limited to 'youtube_dl/extractor/prosiebensat1.py')
-rw-r--r--youtube_dl/extractor/prosiebensat1.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/prosiebensat1.py b/youtube_dl/extractor/prosiebensat1.py
index ec31ee7d1..71d7c772b 100644
--- 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({