Java code to crawl google search results

Following would be the input to the code:

website, Keyword, Crawl interval

Open in new window



The crawler,based on the Crawl interval, should automatically perform a google search for the Keyword targeting the Website given for that particular Keyword. In the google search results, you can notice that, google provides information as to when that url within the website was updated(eg; 45 minutes ago, 3 hours ago, 2 days ago, Aug 22, 2013 and so on). If in search result, you get a result(url or urls) which came after the last crawled time(say n minutes ago, n days ago etc.), then those url's need to be fetched to an arraylist.

Any help or suggestion, implementing the mechanism above using java is much appreciated.

Correct solutions or guidance, preferably with code snippets will be awarded full points.
Sreejith22Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Before you even try to do this, you should be aware that Google is making it very difficult to crawl their search results.  A Google search results page is mostly javascript.  You should do a simple search on Google and then view the page source to see if you can find what you are looking for.  If you can't find it, then your program will have to run the javascript code to generate those results.  That is not an easy task.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.