七年之后
Nothing can replace hardwork!
博客园
首页
新随笔
订阅
管理
随笔 - 340
文章 - 0
评论 - 9
2014年11月27日
python爬取商品信息
摘要:老严要爬某网购网站的商品信息,正好我最近在学python,就一起写了一个简单的爬虫程序。需求:某网的商品信息,包括商品名,市场价和售价工具:python2.7.8,urllib2,re#coding = utf-8import urllib2import repath = "aaa.txt"f = ...
阅读全文
posted @ 2014-11-27 02:09 七年之后 阅读 (251) 评论 (2)
编辑