urllib模块

from urllib.parse import unquote_plus #字符转中文
from urllib.parse import urlencode #中文转字符

原文地址:https://www.cnblogs.com/yangxinpython/p/11945572.html