importer: Stop using deprecated bs4 findAll
Fails bleeding edge CI due to warnings
This commit is contained in:
parent
d37f5b7be0
commit
0a5d92119e
|
|
@ -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', '{}')
|
||||
|
|
|
|||
Loading…
Reference in New Issue