From 6b2b7dbc421994d28f16fbc61243ade4e73939fc Mon Sep 17 00:00:00 2001 From: MrDemocracy Date: Sun, 6 Oct 2024 02:00:15 +0200 Subject: [PATCH] [nrk] Standardize string formatting in f-string --- yt_dlp/extractor/nrk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/nrk.py b/yt_dlp/extractor/nrk.py index aece411a7..0ecc5318f 100644 --- a/yt_dlp/extractor/nrk.py +++ b/yt_dlp/extractor/nrk.py @@ -902,7 +902,7 @@ class NRKPlaylistBaseIE(InfoExtractor): def _real_extract(self, url): playlist_id = self._match_id(url) - webpage = self._download_webpage(f'https://www.nrk.no/serum/api/render/{playlist_id.split('-')[-1]}', playlist_id) + webpage = self._download_webpage(f'https://www.nrk.no/serum/api/render/{playlist_id.split("-")[-1]}', playlist_id) entries = [ self.url_result(f'nrk:{video_id}', NRKIE.ie_key()) for video_id in re.findall(self._ITEM_RE, webpage)