如何使用python读取chrome的书签?

使用如下命令安装pip库

pip install chrome-bookmarks

使用方法:

import chrome_bookmarks

for folder in chrome_bookmarks.folders:
    print(folder.name)
    print(folder.folders)
for url in chrome_bookmarks.urls:
    print(url.url, url.name)