I think "writing my own fits-like-a-glove tool" pretty much covers it. I wanted a very minimalistic tool which just scrapes the data and transforms it into a report. Probably I could have achieved the same result by writing a few plugins for HLedger. Though I doubt the overall code size would've been smaller (currently it's <1000 SLOC and I'm not planning to add any more features). I've been using it for last few months without adding more features. The only thing that changes/expands is scraping, which is a part of a separate project - Weboob.
I just read the source code and I wonder if you have any reason for not using HLegder and the complimentary web-GUI..?
HLegder has a lot more features, and a community.
Completely understood if you just wanted to write your own fits-like-a-glove tool.