1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +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:
sepro
2024-06-12 01:09:58 +02:00
committed by GitHub
parent db50f19d76
commit add96eb9f8
915 changed files with 7027 additions and 7246 deletions

View File

@ -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 {