parsers.append(bkmk_ph_htmlparser.parse_html)
# ElementTidy often segfaults
-#try:
-# from . import bkmk_ph_etreetidy
-#except ImportError:
-# pass
-#else:
-# parsers.append(bkmk_ph_etreetidy.parse_html)
+# try:
+# from . import bkmk_ph_etreetidy
+# except ImportError:
+# pass
+# else:
+# parsers.append(bkmk_ph_etreetidy.parse_html)
import re
from htmlentitydefs import name2codepoint
if log: log(" META charset : %s" % parser.charset)
elif (not charset) or (charset != parser.charset):
if log: log(" guessed charset: %s" % parser.charset)
- #if log: log(" current charset: %s" % universal_charset)
+ # if log: log(" current charset: %s" % universal_charset)
if log: log(" title : %s" % title)
if parser.charset != universal_charset:
try: