diff --git a/youtube_dl/extractor/prosiebensat1.py b/youtube_dl/extractor/prosiebensat1.py index ec31ee7d1e..71d7c772bf 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({