mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[cleanup] Add more ruff rules (#10149)
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
This commit is contained in:
		| @@ -109,7 +109,7 @@ class GediDigitalIE(InfoExtractor): | ||||
|         # add protocol if missing | ||||
|         for i, e in enumerate(urls): | ||||
|             if e.startswith('//'): | ||||
|                 urls[i] = 'https:%s' % e | ||||
|                 urls[i] = f'https:{e}' | ||||
|         # clean iframes urls | ||||
|         for i, e in enumerate(urls): | ||||
|             urls[i] = urljoin(base_url(e), url_basename(e)) | ||||
| @@ -166,7 +166,7 @@ class GediDigitalIE(InfoExtractor): | ||||
|                             'abr': abr, | ||||
|                             'tbr': abr, | ||||
|                             'acodec': ext, | ||||
|                             'vcodec': 'none' | ||||
|                             'vcodec': 'none', | ||||
|                         }) | ||||
|                     else: | ||||
|                         mobj = re.match(r'^video-rrtv-(\d+)(?:-(\d+))?$', n) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sepro
					sepro