Prev: Undo/Redo in PyQt
Next: dict's as dict's key.
From: John Bokma on 15 Jan 2010 16:58 John Nagle <nagle(a)animats.com> writes: > It's just somebody pirating movies. Ineptly. Ignore. Wow, what a childish reply. You should've followed your own advice and ignored the OP instead of replying with a top post + full quote (!). -- John Bokma j3b Hacking & Hiking in Mexico - http://johnbokma.com/ http://castleamber.com/ - Perl & Python Development
From: John Bokma on 15 Jan 2010 17:03 John Bokma <john(a)castleamber.com> writes: > yamamoto <blueskykind02(a)gmail.com> writes: > >> Hi, >> I am new to Python. I'd like to extract "a" tag from a website by >> using "beautifulsoup" module. >> but it doesnt work! > > [..] > >> check_for_whole_start_tag >> self.error("malformed start tag") >> File "C:\Python26\lib\HTMLParser.py", line 115, in error >> raise HTMLParseError(message, self.getpos()) >> HTMLParser.HTMLParseError: malformed start tag, at line 276, column 36 >> >> any suggestion? > > I guess you're using 3.1.0. If yes, see: > http://www.crummy.com/software/BeautifulSoup/3.1-problems.html > > You might want to do: > > sudo easy_install -U "BeautifulSoup==3.0.7a" > > and try again. Forgot to add, see also: http://johnbokma.com/mexit/2009/09/26/python-downgrading-beatifulsoup.html -- John Bokma j3b Hacking & Hiking in Mexico - http://johnbokma.com/ http://castleamber.com/ - Perl & Python Development
From: Phlip on 15 Jan 2010 18:54
John Bokma wrote: > John Nagle writes: > >> It's just somebody pirating movies. Ineptly. Ignore. > > Wow, what a childish reply. You should've followed your own advice and > ignored the OP instead of replying with a top post + full quote (!). Mr Manners reminds the Gentle Poster(s) that... A> as Google vs China shows, all programmers should resist hacking, no matter how inept it may be, by any means necessary B> John should not have attempted to leave a dead trail in the archives. Searches for BeautifulSoup should always return answered questions. -- Phlip |