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 : td colspan=2align=center if I put : td colspan=2 align=center p = re.compile('align') content = p.sub(' align', content) I

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 : td colspan=2align=center if I put : td colspan=2 align=center p = re.compile('align') content = p.sub('

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 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 is perfectly normal . I like

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 HTMLParser.HTMLParseError: EOF in middle of construct

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 HTMLParser.HTMLParseError: EOF in middle of construct

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 HTMLParser.HTMLParseError: EOF in middle of construct

Re: HTMLParser.HTMLParseError: EOF in middle of construct

2007-06-19 Thread Marc 'BlackJack' Rintsch
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 - http://validator.w3.org/ finds 726 errors in it. ok but my problem is not understand what is the specific problem at line 1173 You can't just look

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 table

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 : td colspan=2align=center if I put : td colspan=2 align=center p = re.compile('align') content = p.sub(' align', content) I can parse the html I don't know if it a bug of HTMLParser

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 : td colspan=2align=center if I put : td colspan=2 align=center p = re.compile('align') content = p.sub(' align', content) I can parse the html I don't know if it a

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 understand what is

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 before

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, at line 1173, column 1