]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/blackboardcollaborate.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / blackboardcollaborate.py
index 8f41c897adfbdaea5266d2aa63f6879bc17ee9ca..535890979b0783cf8c0b791a1be6ab5c81a8cf45 100644 (file)
@@ -47,7 +47,7 @@ def _real_extract(self, url):
         region = mobj.group('region')
         video_id = mobj.group('id')
         info = self._download_json(
-            'https://{}.bbcollab.com/collab/api/csa/recordings/{}/data'.format(region, video_id), video_id)
+            f'https://{region}.bbcollab.com/collab/api/csa/recordings/{video_id}/data', video_id)
         duration = info.get('duration')
         title = info['name']
         upload_date = info.get('created')