这是一个创建于 1957 天前的主题,其中的信息可能已经有所发展或是发生改变。
您好,我把我的问题给你详细描述一下,请您帮我解决一下。
用的是 crawlspider 爬取乐融商城全部的网站源代码,但是爬取到精选配件页面(全部分类选项里面)时,由于商品(“比如:乐视蓝牙耳机”)的链接只是相对的,结果导致无法爬取商品页面源代码
|
|
1
z1421012325 2019-06-17 00:32:26 +08:00
scrapy 框架的话有个方法 response.urljoin(你提取出来的链接) 可以补全
|