Python爬蟲:一些經常使用的爬蟲技巧總結

Python爬蟲:一些經常使用的爬蟲技巧總結 爬蟲在開發過程當中也有不少複用的過程,這裏總結一下,之後也能省些事情。 1、基本抓取網頁 get方法 import urllib2 url "http://www.baidu.com" respons = urllib2.urlopen(url) print response.read() post方法 import urllib impor
相關文章
相關標籤/搜索