Need help making a screen scraper/data scraper to scrape on different searches

#1

Basically I need to make it so that I ask user for company name, then google the company name, use the scraper to extract the website url, save it and export as csv.
I have already been able to make a version where the scraper works for single companies but doesnt work generically. The issue is during the scraping part where it attaches the browser to look for the specific company is sort of hard coded so when i look up different companies it gives an error, any idea how to get around it?
Sorry if it was confusing can upload screenshots if it helps.

1 Like
#2

@coder123 What’s the error ? . You can search each company by looping.

#3

@coder123 did you already find out how to fix this?