I am new here and I am trying to scrape the nearest station and distance list from this link https://www.onthemarket.com/details/10405122/ I have been stuck here for a day. any help would be apreciated.
I have tried
response.xpath('//div[@class = "tab-content"]/span')
response.xpath('//section//span[@class="poi-name"]')
response.xpath('//section[@class="poi"]/div//text()').extract()
nothing seems to work.
please if you are able to get it please do explain why I failed that would be much apreciated.
//div[@class = "tab-content"]//spanresponse.xpath('//div[@class = "tab-content"]//span').get()if it doesn't work again it is probably a js website. So you have to use selenium instead