The following line is a scrapy selector. How would I apply normalize-space()
to this?
rows.xpath("//table[@id='PlaceHolderMain']/tbody/tr/td[1]/span/text()").get()
The following line is a scrapy selector. How would I apply normalize-space()
to this?
rows.xpath("//table[@id='PlaceHolderMain']/tbody/tr/td[1]/span/text()").get()
To use the text jim Burns through normalize-space()
you can use the following xpath based Locator Strategy:
ows.xpath("//table[@id='PlaceHolderMain']/tbody/tr/td[1]/span[normalize-space()='jim Burns']").get()