Originally published on eve.gd on 30 December 2011, last updated 6 September 2026.
Read this post on the web (with images, PDF and citation details)
I thought it would be a good idea (New Year's resolutions and all that) to make sure I was on top of my finances this coming year. For that purpose, I began to investigate options to aggregate my accounts in one place. There were several online options, but I really disliked the idea of giving an online service my banking credentials. In fact, while Lloyds TSB claim this is alright ("2.7 We will not treat you as breaking your security obligations just because you use an aggregation service we do not provide. A typical aggregation service allows you to view information about your accounts with different banks on a single website." http://www.lloydstsb.com/ib/registration_termsconditions.asp) I still remain unconvinced. Other banks seem to outright prohibit it.
http://www.lloydstsb.com/ib/registration_termsconditions.asp
However, there's no reason I can't do this at home, in my encrypted setup, with some desktop software, right? So I tried GnuCash and (after much faffing using Wine on Ubuntu) Intuit Quicken. Neither could import or sync with any of my UK bank accounts. This got on my nerves.
Earlier today, in my quest to make this work, I found a (now outdated) Ruby script designed to login to Lloyds TSB and get your account info. (http://code.google.com/p/chrisroos/source/browse/trunk/banking-scripts/lloyds-statement-downloader/#lloyds-statement-downloader%253Fstate%253Dclosed) I decided, today, to take this one step further and update the script.
With that said, then, I proudly present a very basic scraper for Lloyds TSB for your own, purely personal, use. It should work in any Ruby/Hpricot -supported environment. Instructions are in the README and the program is licensed under the GPL v3. https://github.com/MartinPaulEve/lloyds_tsb_scrape.
https://github.com/MartinPaulEve/lloyds_tsb_scrape
Featured image by loopzilla under a CC-BY-SA license.
This reference list has been generated, in many cases, through an automated process and may therefore contain errors or incomplete metadata. It is provided purely as assistance for finding the items mentioned within this post.
1. chrisroos Ruby Lloyds statement downloader script <http://code.google.com/p/chrisroos/source/browse/trunk/banking-scripts/lloyds-statement-downloader/#lloyds-statement-downloader%253Fstate%253Dclosed>
2. ‘GitHub - MartinPaulEve/lloyds_tsb_scrape: An HTML scraper for Lloyds TSB bank accounts’, GitHub <https://github.com/MartinPaulEve/lloyds_tsb_scrape>
3. Joly, Gordon, Gordon Joly, Flickr <http://www.flickr.com/photos/loopzilla/>
4. ‘Updated online banking agreement’, Lloyds TSB <http://www.lloydstsb.com/ib/registration_termsconditions.asp>
http://code.google.com/p/chrisroos/source/browse/trunk/banking-scripts/lloyds-statement-downloader/#lloyds-statement-downloader%253Fstate%253Dclosed
https://github.com/MartinPaulEve/lloyds_tsb_scrape
http://www.flickr.com/photos/loopzilla/
http://www.lloydstsb.com/ib/registration_termsconditions.asp