]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/arkena.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / arkena.py
index de36ec8868bbd6614af9cd6328508376e7064663..b0e853d57a9bc5f8a66d0d72cc3e071d3992e6dc 100644 (file)
@@ -64,7 +64,7 @@ def _real_extract(self, url):
                 raise ExtractorError('Invalid URL', expected=True)
 
         media = self._download_json(
-            'https://video.qbrick.com/api/v1/public/accounts/%s/medias/%s' % (account_id, video_id),
+            f'https://video.qbrick.com/api/v1/public/accounts/{account_id}/medias/{video_id}',
             video_id, query={
                 # https://video.qbrick.com/docs/api/examples/library-api.html
                 'fields': 'asset/resources/*/renditions/*(height,id,language,links/*(href,mimeType),type,size,videos/*(audios/*(codec,sampleRate),bitrate,codec,duration,height,width),width),created,metadata/*(title,description),tags',