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:
		| @@ -131,10 +131,10 @@ class RuvSpilaIE(InfoExtractor): | ||||
|         }, | ||||
|     }, { | ||||
|         'url': 'https://www.ruv.is/ungruv/spila/ungruv/28046/8beuph', | ||||
|         'only_matching': True | ||||
|         'only_matching': True, | ||||
|     }, { | ||||
|         'url': 'https://www.ruv.is/krakkaruv/spila/krakkafrettir/30712/9jbgb0', | ||||
|         'only_matching': True | ||||
|         'only_matching': True, | ||||
|     }] | ||||
| 
 | ||||
|     def _real_extract(self, url): | ||||
| @@ -153,7 +153,7 @@ class RuvSpilaIE(InfoExtractor): | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             }''' % (series_id, display_id)})['data']['Program'] | ||||
|             }''' % (series_id, display_id)})['data']['Program']  # noqa: UP031 | ||||
|         episode = program['episodes'][0] | ||||
| 
 | ||||
|         subs = {} | ||||
| @@ -182,5 +182,5 @@ class RuvSpilaIE(InfoExtractor): | ||||
|             'timestamp': unified_timestamp(episode.get('firstrun')), | ||||
|             'formats': formats, | ||||
|             'age_limit': episode.get('rating'), | ||||
|             'chapters': clips | ||||
|             'chapters': clips, | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sepro
					sepro