mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 00:25:06 +00:00
Don't forget trailing '%'
This commit is contained in:
parent
9fefc88656
commit
593b77064c
1 changed files with 3 additions and 0 deletions
|
@ -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:])
|
||||
|
|
Loading…
Reference in a new issue