logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: d02064218be76eba6350a13ccbbc473b1b439570
parent b1297308fb7b423a60c3a28c74ac014d7b385a2a
Author: Petr Vaněk <arkamar@atlas.cz>
Date:   Sat, 12 Feb 2022 12:30:29 +0100

do not use f-strings

Diffstat:

Myoutube_dl/extractor/streamcz.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/streamcz.py b/youtube_dl/extractor/streamcz.py @@ -43,7 +43,7 @@ class StreamCZIE(InfoExtractor): if not stream.get('url'): continue yield { - 'format_id': f'{format_id}-{ext}', + 'format_id': '{}-{}'.format(format_id, ext), 'ext': ext, 'source_preference': pref, 'url': urljoin(spl_url, stream['url']),