Scraping only a few links in a list

If, for example, there's 20 links in a list, and I only want to scrape the first 8 links in the list, how do I do it, since after selecting the first and second links during setup, all of the other links are automatically selected.

The nth-of-type or nth-child selectors are great for this. So something like

div:nth-of-type(-n+8)
OR
li:nth-child(-n+8)

Ref: http://nthmaster.com/

This is what is in the selector field right now after I click the first two links, which then selects all 20 of the links automatically: td:nth-of-type(2) a

If I replace the selector with either of those two options you gave me, it selects almost everything on the page.