mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +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:
		| @@ -4,6 +4,7 @@ from .common import InfoExtractor | ||||
| from ..utils import ( | ||||
|     extract_attributes, | ||||
|     int_or_none, | ||||
|     join_nonempty, | ||||
|     parse_iso8601, | ||||
|     try_get, | ||||
| ) | ||||
| @@ -136,7 +137,7 @@ class ArcPublishingIE(InfoExtractor): | ||||
|             else: | ||||
|                 vbr = int_or_none(s.get('bitrate')) | ||||
|                 formats.append({ | ||||
|                     'format_id': f'{stream_type}-{vbr}' if vbr else stream_type, | ||||
|                     'format_id': join_nonempty(stream_type, vbr), | ||||
|                     'vbr': vbr, | ||||
|                     'width': int_or_none(s.get('width')), | ||||
|                     'height': int_or_none(s.get('height')), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 bashonly
					bashonly