]> git.phdru.name Git - bookmarks_db.git/blob - Robots/parse_html_util.py
79890dd0c7d417932f019db2cdccace1916a18fe
[bookmarks_db.git] / Robots / parse_html_util.py
1 """
2    HTML parsers utilities
3
4    Written by Broytman. Copyright (C) 2010 PhiloSoft Design
5 """
6
7 from HTMLParser import HTMLParser
8
9 class HTMLParser(HTMLParser):
10    def __init__(self, charset, meta_charset, title, refresh, icon):
11       object.__init__(self)
12       self.charset = charset
13       self.meta_charset = meta_charset
14       self.title = title
15       self.refresh = refresh
16       self.icon = icon