]> git.phdru.name Git - bookmarks_db.git/blob - parse_html/util.py
12bab4cf0778d84f9460f62fb748233f7f4411cb
[bookmarks_db.git] / parse_html / util.py
1 """HTML parsers utilities
2
3 This file is a part of Bookmarks database and Internet robot.
4 """
5
6 __version__ = "$Revision$"[11:-2]
7 __revision__ = "$Id$"[5:-2]
8 __date__ = "$Date$"[7:-2]
9 __author__ = "Oleg Broytman <phd@phdru.name>"
10 __copyright__ = "Copyright (C) 2010, 2011 PhiloSoft Design"
11 __license__ = "GNU GPL"
12
13 from HTMLParser import HTMLParser
14
15 class HTMLParser(HTMLParser):
16    def __init__(self, charset, meta_charset, title, refresh, icon):
17       object.__init__(self)
18       self.charset = charset
19       self.meta_charset = meta_charset
20       self.title = title
21       self.refresh = refresh
22       self.icon = icon