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 | 137f07c27a88b07df57df5b2cdebebe3c7722bac (patch) | |
tree | 4ebdcbea6b540f69c40ba0be6ac766008030d149 /yt_dlp/extractor/adultswim.py | |
parent | Adding debian version 2024.05.27-1. (diff) | |
download | yt-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/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'), |