This commit is contained in:
parent
5955efe77b
commit
41aa5ed3fe
|
@ -51,7 +51,6 @@ class JdSpider(scrapy.Spider):
|
|||
|
||||
def parse_spec(self, response):
|
||||
#spec
|
||||
pdb.set_trace()
|
||||
cpu = response.xpath('//dt[text()="CPU型号"]/following-sibling::dd/text()').extract_first()
|
||||
rom = response.xpath('//dt[text()="ROM"]/following-sibling::dd[2]/text()').extract_first()
|
||||
ram = response.xpath('//dt[text()="RAM"]/following-sibling::dd[2]/text()').extract_first()
|
||||
|
|
Loading…
Reference in New Issue