summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/libraryofcongress.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/libraryofcongress.py')
-rw-r--r--yt_dlp/extractor/libraryofcongress.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/libraryofcongress.py b/yt_dlp/extractor/libraryofcongress.py
index 2979939..6185605 100644
--- a/yt_dlp/extractor/libraryofcongress.py
+++ b/yt_dlp/extractor/libraryofcongress.py
@@ -73,7 +73,7 @@ class LibraryOfCongressIE(InfoExtractor):
webpage, 'media id', group='id')
data = self._download_json(
- 'https://media.loc.gov/services/v1/media?id=%s&context=json' % media_id,
+ f'https://media.loc.gov/services/v1/media?id={media_id}&context=json',
media_id)['mediaObject']
derivative = data['derivatives'][0]