Ok! Hello Daniwebbers, lets see if you can help me this time:

I'm planning to do a bot, to login into a site, collect some data and then send a report to me.

Problem is, I've done some web-scrapping data before, but I have no idea on how to do to keep sessions alive from one request to other, what I want to do is the following:

1) login (www.somewebsite.com/login)
2) collect data (www.somewebsite.com/hit_stats)

does the httpsession have something to do with this?

please give me some ideas :) I need a start point.


Start with the URLConnection classes.


I used Selenium Server standalone, it works like a charm