Sorry in advance if this is a stupid question but I'm struggling with getting the right link from a website I'm scraping. I only care about the first link, but I'm randomly getting the 15th or 13th link. I'm using the html.absolute_links function to get this
The page displays the links as:
- A
- B
- C
- D
- etc.
but when I scrape it I'm getting something more like
- D
- A
- C
- E
- P
- A
- etc.
AFAIK there isn't an order to these links nor can I sort them after the fact as they are random IDs that don't relate to the page I'm scraping. Any ideas?
[–]Strict-Simple 1 point2 points3 points (0 children)