Scrapy 0.22 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 6.5 Core API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . item[’desc’] = site.xpath(’text()’).extract() items.append(item) return items Note: You can find a fully-functional variant of this spider in the dirbot project available at https://github.com/scrapy/dirbot Now intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 199 页 | 926.97 KB | 1 年前3Scrapy 0.20 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 6.5 Core API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . item[’desc’] = site.xpath(’text()’).extract() items.append(item) return items Note: You can find a fully-functional variant of this spider in the dirbot project available at https://github.com/scrapy/dirbot Now intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 197 页 | 917.28 KB | 1 年前3Scrapy 0.18 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 6.5 Core API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scrapy Documentation, Release 0.18.4 items.append(item) return items Note: You can find a fully-functional variant of this spider in the dirbot project available at https://github.com/scrapy/dirbot Now intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 201 页 | 929.55 KB | 1 年前3Scrapy 0.20 Documentation
Customize the input and output of your spiders. Extensions Extend Scrapy with your custom functionality Core API Use it on extensions and middlewares to extend Scrapy functionality Reference Command line xpath('text()').extract() items.append(item) return items Note You can find a fully-functional variant of this spider in the dirbot [https://github.com/scrapy/dirbot] project available at https://github intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 276 页 | 564.53 KB | 1 年前3Scrapy 0.18 Documentation
Customize the input and output of your spiders. Extensions Extend Scrapy with your custom functionality Core API Use it on extensions and middlewares to extend Scrapy functionality Reference Command line select('text()').extract() items.append(item) return items Note You can find a fully-functional variant of this spider in the dirbot [https://github.com/scrapy/dirbot] project available at https://github intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 273 页 | 523.49 KB | 1 年前3Scrapy 0.24 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 6.5 Core API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Release 0.24.6 item['desc'] = sel.xpath('text()').extract() yield item Note: You can find a fully-functional variant of this spider in the dirbot project available at https://github.com/scrapy/dirbot Now intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 222 页 | 988.92 KB | 1 年前3Scrapy 0.22 Documentation
Customize the input and output of your spiders. Extensions Extend Scrapy with your custom functionality Core API Use it on extensions and middlewares to extend Scrapy functionality Reference Command line xpath('text()').extract() items.append(item) return items Note You can find a fully-functional variant of this spider in the dirbot [https://github.com/scrapy/dirbot] project available at https://github intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 303 页 | 566.66 KB | 1 年前3Scrapy 1.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 6.5 Core API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xpath('a/@href').extract() item['desc'] = sel.xpath('text()').extract() yield item Note: You can find a fully-functional variant of this spider in the dirbot project available at https://github.com/scrapy/ dirbot Now intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 244 页 | 1.05 MB | 1 年前3Scrapy 0.24 Documentation
Customize the input and output of your spiders. Extensions Extend Scrapy with your custom functionality Core API Use it on extensions and middlewares to extend Scrapy functionality Reference Command line item['desc'] = sel.xpath('text()').extract() yield item Note You can find a fully-functional variant of this spider in the dirbot [https://github.com/scrapy/dirbot] project available at https://github intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 298 页 | 544.11 KB | 1 年前3Scrapy 1.0 Documentation
Customize the input and output of your spiders. Extensions Extend Scrapy with your custom functionality Core API Use it on extensions and middlewares to extend Scrapy functionality Signals See all available item['desc'] = sel.xpath('text()').extract() yield item Note You can find a fully-functional variant of this spider in the dirbot [https://github.com/scrapy/dirbot] project available at https://github intended to perform any last time processing required before returning the results to the framework core, for example setting the item IDs. It receives a list of results and the response which originated0 码力 | 303 页 | 533.88 KB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7