mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	fix rtlnow for newer series like "Der Bachelor" season 5
This commit is contained in:
		| @@ -134,9 +134,18 @@ class RTLnowIE(InfoExtractor): | |||||||
|                     'player_url': video_page_url + 'includes/vodplayer.swf', |                     'player_url': video_page_url + 'includes/vodplayer.swf', | ||||||
|                 } |                 } | ||||||
|             else: |             else: | ||||||
|                 fmt = { |                 mobj = re.search(r'.*/(?P<hoster>[^/]+)/videos/(?P<play_path>.+)\.f4m', filename.text) | ||||||
|                     'url': 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: | ||||||
|  |                     fmt = { | ||||||
|  |                         'url': filename.text, | ||||||
|  |                     } | ||||||
|             fmt.update({ |             fmt.update({ | ||||||
|                 'width': int_or_none(filename.get('width')), |                 'width': int_or_none(filename.get('width')), | ||||||
|                 'height': int_or_none(filename.get('height')), |                 'height': int_or_none(filename.get('height')), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Markus Müller
					Markus Müller