Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-20 Thread sergio
Rob Wolfe wrote: > > Sérgio Monteiro Basto wrote: >> Stefan Behnel wrote: >> >> > Sérgio Monteiro Basto wrote: >> >> but is one single error that blocks this. >> >> Finally I found it , it is : >> >> > >> if I put : >> >> > >> >> >> p = re.compile('"align') >> >> content = p.sub('" align', conten

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-20 Thread Rob Wolfe
Sérgio Monteiro Basto wrote: > Stefan Behnel wrote: > > > Sérgio Monteiro Basto wrote: > >> but is one single error that blocks this. > >> Finally I found it , it is : > >> >> if I put : > >> >> > >> p = re.compile('"align') > >> content = p.sub('" align', content) > >> > >> I can parse the html

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread John Nagle
none wrote: > Gabriel Genellina wrote: > >> En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto >> <[EMAIL PROTECTED]> escribió: >> >>> Can someone explain me, what is wrong with this site ? >>> >>> python linkExtractor3.py http://www.noticiasdeaveiro.pt > test > ok but my problem is not u

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread Sérgio Monteiro Basto
Stefan Behnel wrote: > Sérgio Monteiro Basto wrote: >> but is one single error that blocks this. >> Finally I found it , it is : >> > if I put : >> > >> p = re.compile('"align') >> content = p.sub('" align', content) >> >> I can parse the html >> I don't know if it a bug of HTMLParser > > Sure,

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread Stefan Behnel
Sérgio Monteiro Basto wrote: > but is one single error that blocks this. > Finally I found it , it is : > if I put : > > p = re.compile('"align') > content = p.sub('" align', content) > > I can parse the html > I don't know if it a bug of HTMLParser Sure, and next time your key doesn't open y

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread Sérgio Monteiro Basto
First, sorry about the mess, let see if kontact works better with newsgroups. Marc 'BlackJack' Rintsch wrote: >> ok but my problem is not understand what is the specific problem at line >> 1173 > > You can't just look at that line and ignore the rest.  There are 604 (!) > errors, some about tabl

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread Marc 'BlackJack' Rintsch
thon linkExtractor3.py http://www.noticiasdeaveiro.pt > test >>> >>> HTMLParser.HTMLParseError: EOF in middle of construct, at line 1173, >>> column 1 >>> >>> at line 1173 of test file is perfectly normal . >> >> That page is not valid HTML - ht

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread none
Gabriel Genellina wrote: > En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto > <[EMAIL PROTECTED]> escribió: > >> Can someone explain me, what is wrong with this site ? >> >> python linkExtractor3.py http://www.noticiasdeaveiro.pt > test >> >

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread none
Gabriel Genellina wrote: > En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto > <[EMAIL PROTECTED]> escribió: > >> Can someone explain me, what is wrong with this site ? >> >> python linkExtractor3.py http://www.noticiasdeaveiro.pt > test >> >

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread none
Gabriel Genellina wrote: > En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto > <[EMAIL PROTECTED]> escribió: > >> Can someone explain me, what is wrong with this site ? >> >> python linkExtractor3.py http://www.noticiasdeaveiro.pt > test >> >

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-18 Thread Stefan Behnel
Sergio Monteiro Basto wrote: > Can someone explain me, what is wrong with this site ? > > python linkExtractor3.py http://www.noticiasdeaveiro.pt > test > > HTMLParser.HTMLParseError: EOF in middle of construct, at line 1173, > column 1 > > at line 1173 of test file i

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-18 Thread Gabriel Genellina
En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto <[EMAIL PROTECTED]> escribió: > Can someone explain me, what is wrong with this site ? > > python linkExtractor3.py http://www.noticiasdeaveiro.pt > test > > HTMLParser.HTMLParseError: EOF in middle of construct,

HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-18 Thread Sergio Monteiro Basto
Hi, Can someone explain me, what is wrong with this site ? python linkExtractor3.py http://www.noticiasdeaveiro.pt > test HTMLParser.HTMLParseError: EOF in middle of construct, at line 1173, column 1 at line 1173 of test file is perfectly normal . I like to know what I have to clean up bef