diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:06:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:06:10 +0000 |
commit | 7e21328585afda6d66f98ca476301680eeffac32 (patch) | |
tree | 266a4e7b20443f94572748781d71fc0375a15037 /yt_dlp/extractor/adultswim.py | |
parent | Adding upstream version 2024.05.27. (diff) | |
download | yt-dlp-7e21328585afda6d66f98ca476301680eeffac32.tar.xz yt-dlp-7e21328585afda6d66f98ca476301680eeffac32.zip |
Adding upstream version 2024.07.01.upstream/2024.07.01
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/extractor/adultswim.py')
-rw-r--r-- | yt_dlp/extractor/adultswim.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/extractor/adultswim.py b/yt_dlp/extractor/adultswim.py index d807c41..2c83701 100644 --- a/yt_dlp/extractor/adultswim.py +++ b/yt_dlp/extractor/adultswim.py @@ -91,7 +91,7 @@ class AdultSwimIE(TurnerBaseIE): getShowBySlug(slug:"%s") { %%s } -}''' % show_path +}''' % show_path # noqa: UP031 if episode_path: query = query % '''title getVideoBySlug(slug:"%s") { @@ -128,7 +128,7 @@ class AdultSwimIE(TurnerBaseIE): episode_title = title = video_data['title'] series = show_data.get('title') if series: - title = '%s - %s' % (series, title) + title = f'{series} - {title}' info = { 'id': video_id, 'title': title, @@ -191,7 +191,7 @@ class AdultSwimIE(TurnerBaseIE): if not slug: continue entries.append(self.url_result( - 'http://adultswim.com/videos/%s/%s' % (show_path, slug), + f'http://adultswim.com/videos/{show_path}/{slug}', 'AdultSwim', video.get('_id'))) return self.playlist_result( entries, show_path, show_data.get('title'), |