0

I want to target the highlighted "table" of an html to scrape on. However my issue here is that there is now specific id or class to target it on.

enter image description here

Is there a way to target that specific table?

jhnferraris
  • 1,361
  • 1
  • 12
  • 34
  • 1
    Is there a specific order? Ie is it always the 3rd table? If yes, have a look at XPath ([example](https://stackoverflow.com/questions/4007413/xpath-query-to-get-nth-instance-of-an-element)). You can do something similar with JS too... – urban Sep 01 '17 at 08:10
  • https://www.w3.org/TR/css3-selectors/ – Quentin Sep 01 '17 at 08:10
  • If it has some order: document.getElementsByTagName("table")[0]; – Flowen Sep 01 '17 at 08:11
  • @urban — Why XPath? You can target third of type with CSS selectors. – Quentin Sep 01 '17 at 08:11
  • I'm targeting the 3rd