parsers.append(bkmk_ph_beautifulsoup.parse_html)
try:
- from . import bkmk_ph_htmlparser
+ from . import bkmk_ph_html5
except ImportError:
pass
else:
- parsers.append(bkmk_ph_htmlparser.parse_html)
+ parsers.append(bkmk_ph_html5.parse_html)
try:
- from . import bkmk_ph_html5
+ from . import bkmk_ph_lxml
except ImportError:
pass
else:
- parsers.append(bkmk_ph_html5.parse_html)
+ parsers.append(bkmk_ph_lxml.parse_html)
try:
- from . import bkmk_ph_lxml
+ from . import bkmk_ph_htmlparser
except ImportError:
pass
else:
- parsers.append(bkmk_ph_lxml.parse_html)
+ parsers.append(bkmk_ph_htmlparser.parse_html)
# ElementTidy often segfaults
#try: