mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-17 00:01:43 +00:00
[cleanup] Add more ruff rules (#10149)
Authored by: seproDev Reviewed-by: bashonly <[email protected]> Reviewed-by: Simon Sawicki <[email protected]>
This commit is contained in:
@@ -40,7 +40,7 @@ class DRBonanzaIE(InfoExtractor):
|
||||
|
||||
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({
|
||||
|
||||
Reference in New Issue
Block a user