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:
		| @@ -1,5 +1,6 @@ | ||||
| import urllib.parse | ||||
| 
 | ||||
| from .once import OnceIE | ||||
| from ..compat import compat_urllib_parse_unquote | ||||
| 
 | ||||
| 
 | ||||
| class GameSpotIE(OnceIE): | ||||
| @@ -40,7 +41,7 @@ class GameSpotIE(OnceIE): | ||||
|         data_video = self._parse_json(self._html_search_regex( | ||||
|             r'data-video=(["\'])({.*?})\1', webpage, | ||||
|             'video data', group=2), page_id) | ||||
|         title = compat_urllib_parse_unquote(data_video['title']) | ||||
|         title = urllib.parse.unquote(data_video['title']) | ||||
|         streams = data_video['videoStreams'] | ||||
|         formats = [] | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sepro
					sepro