Re: [web2py] Re: preferred solution for parsing {xht,ht,x}ml

2013-01-08 Thread Michele Comitini
IMHO beautifulsoup is simpler hence faster to implement than other solutions, very tolerant on bad markup... 2013/1/8 rh : > On Mon, 7 Jan 2013 10:55:39 +0200 > Vasile Ermicioi wrote: > >> lxml, beautifulsoup > > Thanks, but too much code for my simple needs. I would hesitate to install > so m

Re: [web2py] Re: preferred solution for parsing {xht,ht,x}ml

2013-01-07 Thread Vasile Ermicioi
lxml, beautifulsoup --

[web2py] Re: preferred solution for parsing {xht,ht,x}ml

2013-01-06 Thread webpypy
Here is a scrapy tutorial . On Sunday, January 6, 2013 4:24:54 PM UTC+3, webpypy wrote: > > > > What about scrapy ? > > --

[web2py] Re: preferred solution for parsing {xht,ht,x}ml

2013-01-06 Thread webpypy
What about scrapy ? --

[web2py] Re: preferred solution for parsing {xht,ht,x}ml

2013-01-05 Thread Massimo Di Pierro
page = """ This is some text 1 This is some text 2 This is some text 3 """ html = TAG(page) print html.element('a',_keypress="1")[0] print html.element('a',_keypress="2")[0] print html.element('a',_keypress="3")[0] This should work but web2py parser is based on the built-in Python XML parser