python数据抓取

来源:互联网 发布:windows xp 解码器 编辑:程序博客网 时间:2024/05/17 00:11

python网络爬虫:

http://blog.csdn.net/pleasecallmewhy/article/details/8922826


urllib2 简单介绍:

http://www.pythontab.com/html/2014/pythonhexinbiancheng_1128/928.html 


urllib2.urlopen 打开中文url编码问题:

http://www.cnblogs.com/lexus/archive/2012/03/18/2405214.html


urllib.quote 编码函数:

http://blog.csdn.net/my2010sam/article/details/9262141


urllib.quote 和 urllib.urlencode:

urllib.urlencode 函数只针对dict进行编码,并且不提供对应的urldecode方法。

urllib.quote 函数有与之对应的 urllib.unquote 方法。



0 0
原创粉丝点击