mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
Don't forget trailing '%'
This commit is contained in:
@@ -98,6 +98,9 @@ def compat_urllib_parse_unquote_to_bytes(string):
|
||||
append = res.append
|
||||
|
||||
for item in bits[1:]:
|
||||
if item == '':
|
||||
append(b'%')
|
||||
continue
|
||||
try:
|
||||
append(item[:2].decode('hex'))
|
||||
append(item[2:])
|
||||
|
||||
Reference in New Issue
Block a user