AI4Finance-Foundation / FinNLP

Democratizing Internet-scale financial data.
https://ai4finance.org
MIT License
1.1k stars 196 forks source link

china_free proxy xpath bug #8

Open SamaelChen opened 1 year ago

SamaelChen commented 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')

oliverwang15 commented 1 year ago

Thank you very much and we have updated the code!