handle <BR> tags
Luca Calderano
calderano at sgaspa.it
Tue Aug 5 12:43:44 EDT 2003
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
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list