mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[cleanup] Misc (#10075)
Closes #10303 Authored by: bashonly, seproDev, jucor, c-basalt Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com> Co-authored-by: Julien Cornebise <julien@cornebise.com> Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com>
This commit is contained in:
		| @@ -2,6 +2,7 @@ from .common import InfoExtractor | ||||
| from ..utils import ( | ||||
|     determine_protocol, | ||||
|     int_or_none, | ||||
|     join_nonempty, | ||||
|     try_get, | ||||
|     unescapeHTML, | ||||
| ) | ||||
| @@ -52,7 +53,7 @@ class DailyMailIE(InfoExtractor): | ||||
|             is_hls = container == 'M2TS' | ||||
|             protocol = 'm3u8_native' if is_hls else determine_protocol({'url': rendition_url}) | ||||
|             formats.append({ | ||||
|                 'format_id': ('hls' if is_hls else protocol) + (f'-{tbr}' if tbr else ''), | ||||
|                 'format_id': join_nonempty('hls' if is_hls else protocol, tbr), | ||||
|                 'url': rendition_url, | ||||
|                 'width': int_or_none(rendition.get('frameWidth')), | ||||
|                 'height': int_or_none(rendition.get('frameHeight')), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 bashonly
					bashonly