[weboob] [PATCH 1/1] [kiwibank] new module

Romain Bignon romain at symlink.me
Mon Jun 15 21:37:44 CEST 2015


Hello,

On 13/Jun - 22:44, Cédric Félizard wrote:
> Signed-off-by: Cédric Félizard <cedric at felizard.fr>
> ---
>  modules/kiwibank/README.md   |   4 ++
>  modules/kiwibank/__init__.py |  23 +++++++++++
>  modules/kiwibank/browser.py  |  62 +++++++++++++++++++++++++++++
>  modules/kiwibank/favicon.png | Bin 0 -> 1634 bytes
>  modules/kiwibank/module.py   |  55 ++++++++++++++++++++++++++
>  modules/kiwibank/pages.py    |  91 +++++++++++++++++++++++++++++++++++++++++++
>  modules/kiwibank/test.py     |  34 ++++++++++++++++
>  7 files changed, 269 insertions(+)
>  create mode 100644 modules/kiwibank/README.md
>  create mode 100644 modules/kiwibank/__init__.py
>  create mode 100644 modules/kiwibank/browser.py
>  create mode 100644 modules/kiwibank/favicon.png
>  create mode 100644 modules/kiwibank/module.py
>  create mode 100644 modules/kiwibank/pages.py
>  create mode 100644 modules/kiwibank/test.py

Thank you for your module, I've merged it.

About the parsing of pages, I suggest you to use ListElement and ItemElement, as
described here (in french):

http://people.symlink.me/~rom1/blog/weboob/Browser2_:_Parsing_descriptif_du_contenu_des_pages.html

To handle pagination, you can use the 'pagination' decorator:

http://people.symlink.me/~rom1/blog/weboob/Browser2_:_La_pagination.html

Regards,

Romain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.symlink.me/pipermail/weboob/attachments/20150615/9fcaf3eb/attachment.sig>


More information about the weboob mailing list