mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +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:
		| @@ -14,7 +14,7 @@ class HypemIE(InfoExtractor): | ||||
|             'uploader': 'BODYWORK', | ||||
|             'timestamp': 1371810457, | ||||
|             'upload_date': '20130621', | ||||
|         } | ||||
|         }, | ||||
|     } | ||||
| 
 | ||||
|     def _real_extract(self, url): | ||||
| @@ -30,9 +30,9 @@ class HypemIE(InfoExtractor): | ||||
|         title = track['song'] | ||||
| 
 | ||||
|         final_url = self._download_json( | ||||
|             'http://hypem.com/serve/source/%s/%s' % (track_id, track['key']), | ||||
|             'http://hypem.com/serve/source/{}/{}'.format(track_id, track['key']), | ||||
|             track_id, 'Downloading metadata', headers={ | ||||
|                 'Content-Type': 'application/json' | ||||
|                 'Content-Type': 'application/json', | ||||
|             })['url'] | ||||
| 
 | ||||
|         return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sepro
					sepro