importer: Stop using deprecated bs4 findAll

Fails bleeding edge CI due to warnings
This commit is contained in:
Florian Bruhin 2024-03-26 14:09:09 +01:00
parent d37f5b7be0
commit 0a5d92119e
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ def import_html_bookmarks(bookmarks_file, bookmark_types, output_format):
}
bookmarks = []
for typ in bookmark_types:
tags = soup.findAll(bookmark_query[typ])
tags = soup.find_all(bookmark_query[typ])
for tag in tags:
if typ == 'search':
tag['href'] = search_escape(tag['href']).replace('%s', '{}')