]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/drbonanza.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / drbonanza.py
index 824d70defbaafb7aabc196a13bdbc0a6e75abb2f..40dc1416850cc1c7e571676bb52dcf4705347034 100644 (file)
@@ -40,7 +40,7 @@ def _real_extract(self, url):
 
         def extract(field):
             return self._search_regex(
-                r'<div[^>]+>\s*<p>%s:<p>\s*</div>\s*<div[^>]+>\s*<p>([^<]+)</p>' % field,
+                rf'<div[^>]+>\s*<p>{field}:<p>\s*</div>\s*<div[^>]+>\s*<p>([^<]+)</p>',
                 webpage, field, default=None)
 
         info.update({