diff --git a/scripts/importer.py b/scripts/importer.py index 8e807f3e6..15d1daea6 100755 --- a/scripts/importer.py +++ b/scripts/importer.py @@ -51,7 +51,7 @@ def import_chromium(bookmarks_file): """Import bookmarks from a HTML file generated by Chromium.""" import bs4 with open(bookmarks_file, encoding='utf-8') as f: - soup = bs4.BeautifulSoup(f) + soup = bs4.BeautifulSoup(f, 'html.parser') html_tags = soup.findAll('a') diff --git a/tox.ini b/tox.ini index 663adf816..080231faf 100644 --- a/tox.ini +++ b/tox.ini @@ -66,7 +66,7 @@ setenv = PYTHONPATH={toxinidir}/scripts/dev deps = -r{toxinidir}/requirements.txt astroid==1.3.6 - beautifulsoup4==4.3.2 + beautifulsoup4==4.4.0 pylint==1.4.4 logilab-common==1.0.1 six==1.9.0