mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[downloader/mhtml] Fix fragments with absolute urls (#3044)
Authored-by: coletdjnz
This commit is contained in:
		| @@ -3208,7 +3208,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): | ||||
|                 'width': width, | ||||
|                 'height': height, | ||||
|                 'fragments': [{ | ||||
|                     'path': url.replace('$M', str(j)), | ||||
|                     'url': url.replace('$M', str(j)), | ||||
|                     'duration': min(fragment_duration, duration - (j * fragment_duration)), | ||||
|                 } for j in range(math.ceil(fragment_count))], | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 coletdev
					coletdev