FAQ
I got it using SGMLParser!

...
def unknown_starttag(self, tag, attrs):
if tag == 'br':
self.data.append('\n')
...

Thanks all!

S.G.A S.p.A.
Nucleo Sistemi Informativi
Luca Calderano



-----Messaggio originale-----
Da: python-list-admin at python.org
[mailto:python-list-admin at python.org]Per conto di Luca Calderano
Inviato: gioved? 31 luglio 2003 15.11
A: Python Mailing List (E-mail)
Oggetto: handle <BR> tags


Hi guys...

I've done a subclass of SGMLParser
to handle the contents of a web page,
but i'm not able to handle the <BR> tag

can someone help me???

S.G.A S.p.A.
Nucleo Sistemi Informativi
Luca Calderano

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 6 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedJul 31, '03 at 1:10p
activeAug 5, '03 at 4:43p
posts6
users5
websitepython.org

People

Translate

site design / logo © 2022 Grokbase