1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

Merge remote-tracking branch 'mmue/fix-rtlnow'

This commit is contained in:
Philipp Hagemeister 2015-02-09 10:44:55 +01:00
commit f7bc056b5a

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,