I need a program to do the following:
Take a large text file, extract all the emails from it and put in a list.
Go through each email and do a google search via preferably a headless browser, search the results for any that match a word/ phrase from a list that I can edit in the code (for example search a results page for "cat" "dog" "fish"), there should also be a changeable variable for how many pages it searches, when it finishes x number of google search pages go to the next email.
When it gets a match output into another text file the email+the url of the match.
If possible should have something in place to avoid captcha, but if I have to enter google captcha once or twice that's ok.
If you need more details please reply here. thanks.
you can't google will stop you as it thinks you are bot .you have to do it manual