Re: lxml and links

2008-06-28 Thread Ampedesign
On Jun 27, 10:00 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Ampedesign wrote: > > I'm trying to extract all the links on a page with lxml. Ideally, I > > would like it to return me a list of hrefs of each link on the page, > > in a list. > > > How would I go about doing this? > > Read the manua

Re: lxml and links

2008-06-27 Thread Stefan Behnel
Ampedesign wrote: > I'm trying to extract all the links on a page with lxml. Ideally, I > would like it to return me a list of hrefs of each link on the page, > in a list. > > How would I go about doing this? Read the manual? http://codespeak.net/lxml/dev/lxmlhtml.html#working-with-links http://

lxml and links

2008-06-27 Thread Ampedesign
I'm trying to extract all the links on a page with lxml. Ideally, I would like it to return me a list of hrefs of each link on the page, in a list. How would I go about doing this? -- http://mail.python.org/mailman/listinfo/python-list