Open SamaelChen opened 1 year ago
trs = res.xpath("/html/body/div[1]/div[4]/div[2]/div[2]/div[2]/table/tbody/tr") this xpath will get an empty list. change to trs = res.xpath('//table/tbody/tr')
Thank you very much and we have updated the code!
trs = res.xpath("/html/body/div[1]/div[4]/div[2]/div[2]/div[2]/table/tbody/tr") this xpath will get an empty list. change to trs = res.xpath('//table/tbody/tr')