?Python3?,????urllib.parse.unquote????URL??(urldecode)???????????:
from urllib.parse import unquote url = 'https://www.example.com/search?q=python&page=1' decoded_url = unquote(url) print(decoded_url)
????:
https://www.example.com/search?q=python&page=1
???????,???????unquote
??,?????????URL????unquote
????URL?????????(?:
)???????ASCII??(?:
),??????URL????
???,?Python 2.x?,urldecode
?????unquote
??,????????????