[weboob] [RFC PATCH] New feature to download bank statements

Romain Bignon romain at symlink.me
Wed Feb 12 22:40:06 CET 2020


Hi,

It's probably a little late, but could you use the “Merge Request” feature of
https://git.weboob.org to send your patches?

Thank you!

On 31/Mar - 21:40, Benjamin Cama wrote:
> Hi,
> 
> I wanted to download OFX statements that my bank offer directly, instead
> of building it by scraping the HTML pages. I coded the following patch,
> testing it on creditcooperatif, which uses caissedepargne backend. It
> works but I would like some feedback on it: I made it mainly by copying
> other modules and no thoroughly thinking it.
> 
> One big problem is that I think I broke the transfer feature: the
> StatementAckPage matches the same string as TransferSummaryPage, and I
> could not find another way to match for now; my feature works because of
> the priority of my page which is instanciated earlier (which is a *very
> strange* behavior to understand).
> 
> Also, the raw formatter way of displaying the OFX is a bit hackish.
> 
> Enhancements could be to have an iterator over all accounts, and also
> specifycing start/end dates. I also suppose there is some generic
> downloading code on the site that could be more cleanly abstracted.
> 
> Thanks for your feedback.
> Regards,
> --
> Benjamin
> 
> _______________________________________________
> weboob mailing list
> weboob at lists.symlink.me
> https://lists.symlink.me/mailman/listinfo/weboob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.symlink.me/pipermail/weboob/attachments/20200212/36f3f0b3/attachment.sig>


More information about the weboob mailing list