diff options
Diffstat (limited to '')
-rw-r--r-- | yt_dlp/extractor/youku.py | 4 |
1 files changed, 2 insertions, 2 deletions
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, |