Skip to content

Commit

Permalink
[ie/archiveorg] Fix format URL encoding (#9279)
Browse files Browse the repository at this point in the history
Closes #9173
Authored by: bashonly
  • Loading branch information
bashonly committed Feb 24, 2024
1 parent b05640d commit 3894ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/archiveorg.py
Expand Up @@ -300,7 +300,7 @@ def _real_extract(self, url):
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')),
Expand Down

0 comments on commit 3894ab9

Please sign in to comment.