A python script to convert the Safari reading list to a Python dictionary for use in scripts, python code, etc.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
example.png
main.py

README.md

SafariReadingListToPythonDictionary

A python script to convert the Safari reading list to a Python dictionary for use in scripts, python code, etc.

This will;

  1. Create a temp directory for your Bookmarks.plist (so your actual copy used by Safari is untouched :) )
  2. Convert that plist from Binary -> XML
  3. Parse that XML structure as a Python Dictionary Object
  4. And it will output the reading list as formatted text (you can delete this part if you want)

Who is this for?

Well anyone who wants to use the data inside the safari reading list without having to toy about with Apples proprietary format

Potential uses for this code:

  1. Run a chron job to batch your reading list by day
  2. Importing your Reading List into another service like Pinboard or Pocket
  3. ???

example of my reading list