Table: "null" between the rows

Hi,

Im trying to scrape the first table on this site: http://www.vitisport.de/index.php?clanek=analyzy&sekce=fotbal&liga=nemecko&lang=de

Good: It scrapes the data i want.
But: I also get not intended rows with "null". Where is my mistake?

Here is my sitemap:

{"_id":"test_2","startUrl":["http://www.vitisport.de/index.php?clanek=analyzy&sekce=fotbal&liga=nemecko&lang=de"],"selectors":[{"id":"element","type":"SelectorElement","parentSelectors":["_root"],"selector":"div#quicktips tr:nth-of-type(n+3)","multiple":true,"delay":0},{"id":"team_a","type":"SelectorText","parentSelectors":["element"],"selector":"td.standardbunka:nth-of-type(3) a","multiple":false,"regex":"","delay":0},{"id":"team_b","type":"SelectorText","parentSelectors":["element"],"selector":"td.standardbunka:nth-of-type(4) a","multiple":false,"regex":"","delay":0}]}

Thank you for help!

Hi!

It happens because table has empty table rows for design purposes (extra space between rows). You can avoid getting them by using :even CSS selector to pick only even rows. You can also use :not(:last-child) selector to deselect last row that doesn't contain needed information.

Here you can see that odd rows are used just for extra space, generating unnecessary results:

Your correct selector:

div#quicktips tr:nth-of-type(n+3):not(:last-child):even