Tetora
Tetora

Reputation: 433

Not scraping correct values despite it being correct in chrome inspect

I am trying to scrape data off the site below however it seems I can't seem to find a css selector where it will display a correct output.

For this website, I have tried: .row:nth-child(1) span as well as other css selectors.

I am yet to find a working xpath as it is not like Nth-childs to try to see if it makes any difference

enter image description here

I've posted my full code here

Upvotes: 0

Views: 68

Answers (1)

Andersson
Andersson

Reputation: 52665

Below XPath should return you desired output:

//tr[starts-with(@id, "twirl_element_")][1]/td[@class="win odds"]//span

Upvotes: 1

Related Questions