随笔分类 -  scrapy

摘要:Constructing selectorsFor convenience,response objects exposes a selector on .selector attribute,it's totally ok to use this shortcut when possible.//... 阅读全文
posted @ 2014-07-13 18:54 合唱团abc 阅读(227) 评论(0) 推荐(0) 编辑
摘要:After an item has been scraped by a spider,it is sent to the Item Pipeline which process it through several components that are executed sequentially.... 阅读全文
posted @ 2014-07-12 18:14 合唱团abc 阅读(236) 评论(0) 推荐(0) 编辑
摘要:ItemsItem objects are simple containers used to collect the scraped data.They provide a dictionary-like api with a convenient syntax for declaring the... 阅读全文
posted @ 2014-07-10 13:29 合唱团abc 阅读(585) 评论(0) 推荐(0) 编辑
摘要:1)创建项目命令:scrapy startproject tutorial该命令将在当前目录下创建tutorial文件夹2)定义ItemItems are containers that will be loaded with the scraped data;They are declared b... 阅读全文
posted @ 2014-07-09 09:05 合唱团abc 阅读(278) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示