Hello, I’ve been having trouble with an aspect of data scraping.
The process as a whole is basically:
- Reading a list of product references from an excel column
- Navigating to a website
- Writing the reference in the search field to reach the product page
- Extracting an irregular number of image links from the website with data scraping, which are written down in a different excel sheet
The process is running fine, but my issue is that I need a way to associate these links with the product reference (in order to know what product they belong to), for example by writing the reference next to each link.
However, I don’t know a way to make a counter based on the number of scraped elements (or any other alternative). Is there a way to achieve this?