[Tutor] downloader-script

Magnus Lycka magnus@thinkware.se
Fri, 27 Sep 2002 11:14:46 +0200


At 15:10 2002-09-27 +0700, nano wrote:
>now i'm using webware to develop a website. i want to know how to make a
>function for downloading an object from the page. the object is in
>html-format, (contains html tag) and i want to convert them (without the
>tags) into text format.

Ok, you want to remove HTML tags from an HTML
file and turn it into plain text? This has been
up here before I think.

I've used htmllib to do it, but that is really to
stupid for the task. sgmllib is probably a better
choice. See

http://mail.python.org/pipermail/tutor/2002-August/016567.html

Another option is to use regular expressions. See:

http://www.faqts.com/knowledge_base/view.phtml/aid/3680/fid/199



--=20
Magnus Lyck=E5, Thinkware AB
=C4lvans v=E4g 99, SE-907 50 UME=C5
tel: 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se