spider
zhangli709
这个作者很懒,什么都没留下…
展开
-
spider_study 1
find findall select find_all(tag, attributes, recursive, text,limit, keywords) find(tag,attributes,recursive,text,keywords) tag 标签 attributes 属性 recursive 是否查找下面的子层 text 内容 keywords 关键字 limit 搜集几条数...原创 2018-05-29 18:52:59 · 129 阅读 · 0 评论 -
spider_study2
一个简单的爬虫 步骤 抓取页面 解析页面 抽取数据 存储数据 数据库的使用 redis #找到需要的内容和链接 client = redis.Redis(host='47.106.171.59', password=123456,port='6379') # client.set(key,value) # client.hset(kind,...原创 2018-06-02 11:14:18 · 147 阅读 · 0 评论