Skip to content

Instantly share code, notes, and snippets.

@nabucosound
Created May 2, 2014 21:11
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nabucosound/1569c076b5ef152dc1dd to your computer and use it in GitHub Desktop.
Save nabucosound/1569c076b5ef152dc1dd to your computer and use it in GitHub Desktop.
Parse google chrome bookmarks json file
import json
with open ("/Users/nabuco/Library/Application Support/Google/Chrome/Default/Bookmarks") as f:
caca = json.load(f)
bookmarks = caca['roots']['other']['children'][0]['children'][1]['children']
for obj in dookmarks:
print obj['url']
@ayumuate
Copy link

How to convert the time (such as the date_add attribute next to url) to a UNIX timestamp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment