首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
scrapy shell的使用
scrapy shell的使用
mac
2022-06-30
20
这里以http://bj.maitian.cn/esfall/PG1为例子,然后获取标题。
scrapy shell "http://bj.maitian.cn/esfall/PG1" title =response.xpath('//div[@class="list_title"]/h1/a/text()').extract() title
转载于:https://www.cnblogs.com/c-x-a/p/10941814.html
转载请注明原文地址: https://mac.8miu.com/read-67813.html
最新回复
(
0
)