How to select only a few links?

I want to only select a few links, but once I click the second link, it automatically selects all links of that type. For example, on the site below, I want to select just a few links under the "Name" column, but after selecting the first and second links, all of the links in that column get selected.

Url: https://www.stevegtennis.com/statistics-tennis/men/2020/All/AMS/

Sitemap:
http://www.stevegtennis.com/sitemap.xml

Something like this:

Type: Link
Selector: table#matchs_info tbody > tr > td:nth-of-type(3) a

You would need to look at the source code to find this selector.

When I select only the first link, the selector is:
tr:nth-of-type(2) td:nth-of-type(3) a

When I select only the second link, the selector is:
tr:nth-of-type(3) td:nth-of-type(3) a

I tried putting something like this:
tr:nth-of-type([2:10]) td:nth-of-type(3) a
since that's how it works for pagination, but it didn't work for the selector. Any way to only get a few links?

The selectors use CSS so they don't work that way. Refer to

Mastering the :nth-child
See "Using generic type ranges"

Also: https://www.w3schools.com/cssref/css_selectors.asp

1 Like

I think using (-n+x) should work! Thanks!

Did it work? I have the same problem but, for me does not work with sequenced selections, what I need is to select the 1st, 2nd, 4th, 7th, etc, selections without any numbered order.

For me I was able to use the (-n+x) to select the first x links, unfortunately I'm not sure how to do non-sequential.