do not use f-strings
authorPetr Vaněk <arkamar@atlas.cz>
Sat, 12 Feb 2022 11:30:29 +0000 (12:30 +0100)
committerdirkf <fieldhouse@gmx.net>
Mon, 14 Feb 2022 07:07:05 +0000 (07:07 +0000)
youtube_dl/extractor/streamcz.py

index fbdc4450536cab11049b13faea4889e6b3b1b302..d1736c0230589fd5e9c81f05f965aa5c5cac45e6 100644 (file)
@@ -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']),