diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-02-24 17:12:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-24 23:12:04 +0000 |
commit | 3894ab9574748188bbacbd925a3971eda6fa2bb0 (patch) | |
tree | 89c59f530a9b5c2e55c4f25067ecde9fd5a5d512 | |
parent | b05640d532c43a52c0a0da096bb2dbd51e105ec0 (diff) |
[ie/archiveorg] Fix format URL encoding (#9279)
Closes #9173
Authored by: bashonly
-rw-r--r-- | yt_dlp/extractor/archiveorg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/archiveorg.py b/yt_dlp/extractor/archiveorg.py index 3bb6f2e31..c1bc1ba92 100644 --- a/yt_dlp/extractor/archiveorg.py +++ b/yt_dlp/extractor/archiveorg.py @@ -300,7 +300,7 @@ class ArchiveOrgIE(InfoExtractor): is_logged_in = bool(self._get_cookies('https://archive.org').get('logged-in-sig')) if extension in KNOWN_EXTENSIONS and (not f.get('private') or is_logged_in): entry['formats'].append({ - 'url': 'https://archive.org/download/' + identifier + '/' + f['name'], + 'url': 'https://archive.org/download/' + identifier + '/' + urllib.parse.quote(f['name']), 'format': f.get('format'), 'width': int_or_none(f.get('width')), 'height': int_or_none(f.get('height')), |