]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/bostonglobe.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / bostonglobe.py
index 267586687258ca3e7c55e1e3eff37c6141fe612d..f5b819678865bf58ebbdd3f1d03ef8542d67829c 100644 (file)
@@ -57,8 +57,7 @@ def _real_extract(self, url):
 
             if video_id and account_id and player_id and embed:
                 entries.append(
-                    'http://players.brightcove.net/%s/%s_%s/index.html?videoId=%s'
-                    % (account_id, player_id, embed, video_id))
+                    f'http://players.brightcove.net/{account_id}/{player_id}_{embed}/index.html?videoId={video_id}')
 
         if len(entries) == 0:
             return self.url_result(url, 'Generic')