Fix importer script to output bookmarks in the right format for qutebrowser to use
This commit is contained in:
parent
58363d66ce
commit
81ce9b818f
@ -61,7 +61,7 @@ def import_netscape_bookmarks(bookmarks_file):
|
|||||||
bookmarks = []
|
bookmarks = []
|
||||||
for tag in html_tags:
|
for tag in html_tags:
|
||||||
if tag['href'] not in bookmarks:
|
if tag['href'] not in bookmarks:
|
||||||
bookmarks.append('{tag.string} {tag[href]}'.format(tag=tag))
|
bookmarks.append('{tag[href]} {tag.string}'.format(tag=tag))
|
||||||
|
|
||||||
for bookmark in bookmarks:
|
for bookmark in bookmarks:
|
||||||
print(bookmark)
|
print(bookmark)
|
||||||
|
Loading…
Reference in New Issue
Block a user