From 7e21328585afda6d66f98ca476301680eeffac32 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 5 Aug 2024 11:06:10 +0200 Subject: Adding upstream version 2024.07.01. Signed-off-by: Daniel Baumann --- yt_dlp/extractor/youku.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yt_dlp/extractor/youku.py') diff --git a/yt_dlp/extractor/youku.py b/yt_dlp/extractor/youku.py index 1f3f98a..fa6b053 100644 --- a/yt_dlp/extractor/youku.py +++ b/yt_dlp/extractor/youku.py @@ -104,7 +104,7 @@ class YoukuIE(InfoExtractor): @staticmethod def get_ysuid(): - return '%d%s' % (int(time.time()), ''.join( + return '{}{}'.format(int(time.time()), ''.join( random.choices(string.ascii_letters, k=3))) def get_format_name(self, fm): @@ -273,7 +273,7 @@ class YoukuShowIE(InfoExtractor): continue _, new_entries = self._extract_entries( 'http://list.youku.com/show/episode', show_id, - note='Downloading playlist data page %d' % (idx + 1), + note=f'Downloading playlist data page {idx + 1}', query={ 'id': page_config['showid'], 'stage': reload_id, -- cgit v1.2.3