我有一个列表,其中包含带有转义字符的网址。这些字符是urllib2.urlopen在恢复html页面时设置的:
http://www.sample1webpage.com/index.php?title=%E9%A6%96%E9%A1%B5&action=edit
http://www.sample1webpage.com/index.php?title=%E9%A6%96%E9%A1%B5&action=history
http://www.sample1webpage.com/index.php?title=%E9%A6%96%E9%A1%B5&variant=zh
有没有办法在python中将它们转换回未转义的形式?
PS:URL以utf-8编码
德玛西亚99
慕容708150
相关分类