Re: [pyxpcom] Python web crawler using Gecko
by ivrtaric other posts by this author
Mar 31 2008 9:01AM messages near this date
view in the new Beta List Site
Re: [pyxpcom] Python web crawler using Gecko
|
[pyxpcom] Mozilla2, binary XPCOM, and pyxpcom
Todd Whiteman wrote:
> Ivan VrtariÄ? wrote:
> > Now, I'm almost completely sure I'm doing a lot of things wrong, but
> > I don't know where, how, or why. What I'd like to ask is, is this the
> > right way of using the PyXPCOM at all, and is it even possible to use
> > Gecko from Python in this manner (for example, to instance it, pass
> > it some URL and retrieve the DOM tree from it)?
> >
> > Some code snippets would be appreciated, too :)
> >
>
> Hi Ivan,
>
> I'd suggest taking a look at the "hulahop" code that the OLPC (One
> Laptop Per Child) are using for running and controlling the Gecko
> engine with Python (it's a git repository). The "tree/webview.py"
> looks similar to what your trying to do here.
>
> http://dev.laptop.org/git?p=projects/hulahop;a=tree
>
> Note: there are also ready made Ubuntu packages for the hulahop module
> already, so you could use synaptic/apt-get to install it.
>
> Cheers,
> Todd
>
>
Thanks, I took a look at the python/webview.py and it appears it has
exactly what I need. Thanks again for the link.
_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
ivrtaric
Mark Hammond
ivrtaric
Todd Whiteman
ivrtaric
|