python url中文转码

用百度搜索中文,中文以utf8编码存储在url中。

使用python可以解码:

from urllib.parse import unquote

unquote('str',encoding=)

原文地址:https://www.cnblogs.com/azureice/p/8536889.html