🐼 Retiro en tienda · Paga hasta en 12 cuotas sin interés

Google Chrome Favorites Location Access

Chrome must be closed while editing the file directly, otherwise changes may be overwritten.

import json import os path = os.path.expanduser("~") + r"\AppData\Local\Google\Chrome\User Data\Default\Bookmarks" with open(path, 'r', encoding='utf-8') as f: data = json.load(f) bookmarks = data['roots']['bookmark_bar']['children'] for item in bookmarks: print(item.get('name'), item.get('url')) google chrome favorites location

"checksum": "some_hash", "roots": "bookmark_bar": "children": [ ... ], "name": "Bookmarks bar", "type": "folder" , "other": ... , "synced": ... , "version": 1 Chrome must be closed while editing the file

WhatsApp
x