mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-01 06:21:09 +01:00
[nrk] Standardize string formatting in f-string
This commit is contained in:
parent
7e8e6cb621
commit
6b2b7dbc42
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue