href="/authors/Default.aspx?p=1&c=%e4%b8%a4%e6%b1%89"
解码后:
href="/authors/Default.aspx?p=1&c=两汉"
import urllib
print(urllib.request.unquote("/authors/Default.aspx?p=1&c=%e4%b8%a4%e6%b1%89"))
/authors/Default.aspx?p=1&c=两汉
将浏览器的字符编码转为汉字/导入urllib包中的unquote报错的解决办法
原文:https://blog.51cto.com/14234228/2662582