Automatically downloading Orange bills

I’ve been getting annoyed recently with Orange’s policy of deleting user accounts from their website after relatively short periods of inactivity. I don’t want to have to log into their website just to avoid having to register for a new account the next time I want to use it.

So I wrote a script to log in on my behalf. While it’s logged in, it may as well do something useful, so it downloads the PDF versions of my bills, skipping bills which it has already downloaded.

It’s in perl and uses WWW::Mechanize to do most of the work.

You can pull the source code using monotone from mtn.coolfactor.org (branch org.coolfactor.scraping.orange) or you can browse it here.

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.