summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/expressen.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/expressen.py')
-rw-r--r--yt_dlp/extractor/expressen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/expressen.py b/yt_dlp/extractor/expressen.py
index b96f2e4..33b8298 100644
--- a/yt_dlp/extractor/expressen.py
+++ b/yt_dlp/extractor/expressen.py
@@ -58,7 +58,7 @@ class ExpressenIE(InfoExtractor):
def extract_data(name):
return self._parse_json(
self._search_regex(
- r'data-%s=(["\'])(?P<value>(?:(?!\1).)+)\1' % name,
+ rf'data-{name}=(["\'])(?P<value>(?:(?!\1).)+)\1',
webpage, 'info', group='value'),
display_id, transform_source=unescapeHTML)