I need a very small script that returns queries from Google for me. I'm on a Windows OS and I don't really care what language it's written in. It can even be web-based, so long as it gets the job done.
I need it to do the following:
I give it a few things I want info on -- say, "swine flu cure," "swine flu vaccines," and "swine flu cases reported." "Swine flu" is in 1st variable placeholder, and "vaccines" and "reported" are each in my second variable place.
So, if I had a text file with "swine flu," "bird flu," and "influenza" listed in it as the first variable, and another text file with the second variable possibilities in it of "cure," "vaccines," and "cases reported," the script would go to Google and do a search (to however many pages deep I say it should) and return back results with:
swine flu vaccines
bird flu vaccines
swine flu cure
bird flu cure
Additionally, I only want to pull from certain sites that I specify in a separate file. So, I might only want to get results from reputable sources like [url removed, login to view], [url removed, login to view], etc. The script would only gather those and ignore the other sites it finds int the Google results.
After it has gathered these, I need it to open my browser with all of the results, and save the URLs to a text file.
I'm doing this for research purposes on current news and don't have much money to spend. I know the script would be fairly simple, I've seen one done in college and it was like 50 lines in Ruby, but I can't code so here I am hiring you. :)