]> git.phdru.name Git - bookmarks_db.git/blobdiff - parse_html/bkmk_ph_util.py
Fix(Robot): Stop splitting and un-splitting URLs
[bookmarks_db.git] / parse_html / bkmk_ph_util.py
index b26d9d916cb9f2b7591389d895495364b553a433..1aeb306a56c40c09ef0b5c9d827cf6d2dca9abdf 100644 (file)
@@ -3,23 +3,21 @@
 This file is a part of Bookmarks database and Internet robot.
 """
 
-__version__ = "$Revision$"[11:-2]
-__revision__ = "$Id$"[5:-2]
-__date__ = "$Date$"[7:-2]
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2010, 2011 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2010-2023 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 __all__ = ['HTMLParser']
 
 
-from HTMLParser import HTMLParser
+from m_lib.net.www.html import HTMLParser as _HTMLParser
 
-class HTMLParser(HTMLParser):
-   def __init__(self, charset, meta_charset, title, refresh, icon):
-      object.__init__(self)
-      self.charset = charset
-      self.meta_charset = meta_charset
-      self.title = title
-      self.refresh = refresh
-      self.icon = icon
+
+class HTMLParser(_HTMLParser):
+    def __init__(self, charset, meta_charset, title, refresh, icon):
+        object.__init__(self)
+        self.charset = charset
+        self.meta_charset = meta_charset
+        self.title = title
+        self.refresh = refresh
+        self.icon = icon