Generate a list of Reading List URLs

Perhaps you use Safari’s Reading List feature to save various Web articles for later reading. But maybe your Reading List is so overwhelming that you’d prefer to export a simple list of URLs to keep track of—or to open in an app besides Safari.

Over at StackExchange, Rob Mathers offers up a quick Python script to do just that. Copy Mathers’s Python script into a plain text document, and name it something like readinglist.py. Next, make it executable; you can use the Terminal command chmod +x readinglist.py.

Run the script—which loops through the proper section of the ~/Library/Safari/Bookmarks.plist file where those URLs are stored—and it will generate a list of the URLs in question. If you’d like to save the URLs to a file, use a command like ./readinglist.py > urls.txt to do so.

Source: Mac OSX Hints