From 8a44ef6868c8f4a63d8ca9ab57c4c82cfef52cfe Mon Sep 17 00:00:00 2001 From: "Sergey M." Date: Thu, 27 Feb 2014 17:52:52 +0700 Subject: [PATCH] [prosiebensat1] Add rtmpe support --- youtube_dl/extractor/prosiebensat1.py | 5 +++-- 1 file 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'^(?Prtmp://[^/]+/(?P[^/]+))/(?P.+)$', source['url']) + protocol = source['protocol'] + if protocol == 'rtmp' or protocol == 'rtmpe': + mobj = re.search(r'^(?Prtmpe?://[^/]+/(?P[^/]+))/(?P.+)$', source['url']) if not mobj: continue formats.append({ -- 2.22.2