mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-27 14:15:37 +01:00
Don't forget trailing '%'
This commit is contained in:
parent
9fefc88656
commit
593b77064c
|
@ -98,6 +98,9 @@ except ImportError:
|
||||||
append = res.append
|
append = res.append
|
||||||
|
|
||||||
for item in bits[1:]:
|
for item in bits[1:]:
|
||||||
|
if item == '':
|
||||||
|
append(b'%')
|
||||||
|
continue
|
||||||
try:
|
try:
|
||||||
append(item[:2].decode('hex'))
|
append(item[:2].decode('hex'))
|
||||||
append(item[2:])
|
append(item[2:])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user