__copyright__ = "Copyright (C) 1997-2011 PhiloSoft Design"
__license__ = "GNU GPL"
+__all__ = ['parse_html']
+
+
from HTMLParser import HTMLParseError
from m_lib.net.www.html import HTMLParser as _HTMLParser
def end_head(self):
raise HTMLHeadDone()
-
def do_meta(self, attrs):
http_equiv = ""
content = ""
if http_equiv == "refresh":
self.refresh = content
-
def start_title(self, attrs):
self.accumulator = ''
if not self.title: # use only the first title
self.title = self.accumulator
-
def do_link(self, attrs):
has_icon = False
href = None