summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/clyp.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--yt_dlp/extractor/clyp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/extractor/clyp.py b/yt_dlp/extractor/clyp.py
index 273d002..2702427 100644
--- a/yt_dlp/extractor/clyp.py
+++ b/yt_dlp/extractor/clyp.py
@@ -58,13 +58,13 @@ class ClypIE(InfoExtractor):
query['token'] = token
metadata = self._download_json(
- 'https://api.clyp.it/%s' % audio_id, audio_id, query=query)
+ f'https://api.clyp.it/{audio_id}', audio_id, query=query)
formats = []
for secure in ('', 'Secure'):
for ext in ('Ogg', 'Mp3'):
- format_id = '%s%s' % (secure, ext)
- format_url = metadata.get('%sUrl' % format_id)
+ format_id = f'{secure}{ext}'
+ format_url = metadata.get(f'{format_id}Url')
if format_url:
formats.append({
'url': format_url,