摘要: Item Loaders 基本写法 # item from dataclasses import dataclass, field from typing import Optional @dataclass class InventoryItem: name: Optional[str] = fi 阅读全文
posted @ 2020-10-27 09:02 xt12321 阅读(84) 评论(0) 推荐(0) 编辑
摘要: scrapy Selector https://docs.scrapy.org/en/latest/topics/selectors.html 基本使用 selector 常规写法: >>> response.selector.xpath('//span/text()').get() 'good' 阅读全文
posted @ 2020-10-27 09:01 xt12321 阅读(96) 评论(0) 推荐(0) 编辑