I wanted to download my statement history but it turns out that LBG's export function isn't suited to bulk exports:
- It only allows you to export 3 months at a time.
- It only allows you to export 150 entries at a time.
- If a given time period contains 150 entries then it fails silently. So you have to check each and every download manually and choose a smaller window if the row count is 150.
- There is no guarantee you'll get the range that you requested. Caching bugs cause your browser to download the same file multiple times, so to be sure you actually get the export you requested you must log in and out between exports.
Clearly this will not do. The idea of this script is to download your account history to a CSV file without having to dedicate a weekend to the task.
This tool is somewhat usable but not yet finished. Most importantly it cannot be used from an untrusted Internet connection as urllib does not support checking SSL certificates.
For bugs and todo list, see the tracker:
https://github.com/bitplane/tsb-downloader/issues
You will need:
- Python 2.7.x or greater
- The mechanize module (apt-get install python-mechanize)
- A Lloyds Bank account
Copyright (c) 2013 Gaz Davidson gaz@bitplane.net, Will Thompson will@willthompson.co.uk
Licensed under the WTFPL with one additional clause:
- Don't blame me.