summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/radiko.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:10 +0000
commit137f07c27a88b07df57df5b2cdebebe3c7722bac (patch)
tree4ebdcbea6b540f69c40ba0be6ac766008030d149 /yt_dlp/extractor/radiko.py
parentAdding debian version 2024.05.27-1. (diff)
downloadyt-dlp-137f07c27a88b07df57df5b2cdebebe3c7722bac.tar.xz
yt-dlp-137f07c27a88b07df57df5b2cdebebe3c7722bac.zip
Merging upstream version 2024.07.01.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/extractor/radiko.py')
-rw-r--r--yt_dlp/extractor/radiko.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt_dlp/extractor/radiko.py b/yt_dlp/extractor/radiko.py
index f013582..b0b6681 100644
--- a/yt_dlp/extractor/radiko.py
+++ b/yt_dlp/extractor/radiko.py
@@ -100,8 +100,8 @@ class RadikoBaseIE(InfoExtractor):
def _find_program(self, video_id, station, cursor):
station_program = self._download_xml(
- 'https://radiko.jp/v3/program/station/weekly/%s.xml' % station, video_id,
- note='Downloading radio program for %s station' % station)
+ f'https://radiko.jp/v3/program/station/weekly/{station}.xml', video_id,
+ note=f'Downloading radio program for {station} station')
prog = None
for p in station_program.findall('.//prog'):
@@ -207,8 +207,8 @@ class RadikoIE(RadikoBaseIE):
'ft': radio_begin,
'end_at': radio_end,
'to': radio_end,
- 'seek': video_id
- }
+ 'seek': video_id,
+ },
),
}