[weboob] Module generation by examples
vo.publique at gmail.com
Sun Mar 2 16:05:32 CET 2014
For first part, you are right. It could also use specific template per
ICap to fill more things.
For second part, you are right too. I was thinking only on automatic
parsing but peharps it could also find the seach string by page
analysis (form data).
Don't know if it is possble, just R&D :-)
2014-03-02 12:58 GMT+01:00 Romain Bignon <romain at symlink.me>:
> On 02/Mar - 12:50, Famille Os wrote:
>> I wonder if it is possible to develop a generator that produces a
>> module from some informations (ICapXXX, web site url...) and some
>> answer (to ICapXXX) examples ?!?
>> This generator will create the framework of the module (easy) and
>> create also some page analysis (css request or other methods) to
>> extract informations that produces given examples (not so easy), ...
>> with heuristics, try/verify/adapt algorithm ?
> For the first part, there is already a script to do that (tools/boilerplate.py),
> which could be improved to support specificities of capabilities. It may for
> example finds abstract methods in capability and write them in backend.py.
> For the second part, I don't understand exactly what do you want to do. The
> script would requests the website to try to get automatically needed
> information, for example with a ICapVideo website, it would find how to do a
> search, and how to parse results?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> -----END PGP SIGNATURE-----
More information about the weboob