1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-24 17:06:58 +00:00

fix rtlnow for newer series like "Der Bachelor" season 5

This commit is contained in:
Markus Müller 2015-02-08 21:55:39 +01:00
parent 64f9baa084
commit bdb186f3b0

View File

@ -133,6 +133,15 @@ class RTLnowIE(InfoExtractor):
'page_url': video_page_url, 'page_url': video_page_url,
'player_url': video_page_url + 'includes/vodplayer.swf', 'player_url': video_page_url + 'includes/vodplayer.swf',
} }
else:
mobj = re.search(r'.*/(?P<hoster>[^/]+)/videos/(?P<play_path>.+)\.f4m', filename.text)
if mobj:
fmt = {
'url': 'rtmpe://fmspay-fra2.rtl.de/' + mobj.group('hoster'),
'play_path': 'mp4:' + mobj.group('play_path'),
'page_url': url,
'player_url': video_page_url + 'includes/vodplayer.swf',
}
else: else:
fmt = { fmt = {
'url': filename.text, 'url': filename.text,