How to write a simple script (in cURL / python / ruby ββ/ bash / perl / java) that goes into okcupid and counts how many messages I received every day?
The output will look something like this:
1/21/2011 1 messages 1/22/2011 0 messages 1/23/2011 2 messages 1/24/2011 1 messages
The main problem is that I have never written a web crawler before. I have no idea how to programmatically enter the site, for example, okcupid. How to save authentication when loading different pages? etc..
As soon as I get access to the raw HTML, I will be fine with regular expressions and maps, etc.
source share