Giter VIP home page Giter VIP logo

safari-readinglist-concurrent-parser's Introduction

Reading List Parser

The Reading List Parser is a Python script that extracts bookmarked URLs, status codes, titles, and preview texts from a Safari Bookmarks plist file, specifically targeting the Reading List section.

Prerequisites

  • Python 3.x
  • requests library
  • plistlib library

Installation

  1. Clone the repository or download the script file (extract-readinglist.py) to your local machine.

  2. Install the required libraries by running the following command:

    pip install requests plistlib
    

Usage

  1. Locate the Safari Bookmarks plist file (Bookmarks.plist) on your macOS device. It is typically located in the following directory:

    ~/Library/Safari/Bookmarks.plist
    
  2. Copy the Bookmarks.plist file to the same directory as the script (extract-readinglist.py).

  3. Run the script by executing the following command:

    python3 extract-readinglist.py
    
  4. The script will process the bookmarks and generate a CSV file named readinglist.csv in the same directory.

  5. Open the readinglist.csv file to view the extracted data, including the URL, status code, title, and preview text of each bookmark in the Reading List.

Notes

  • The script assumes that the Bookmarks.plist file is in the correct format and follows the expected structure.
  • In case of errors or issues during processing, the script will log an error message for the corresponding bookmark in the CSV file.
  • Adjust the script or modify the output format as needed to match your requirements.

License

This project is licensed under the MIT License

safari-readinglist-concurrent-parser's People

Contributors

tajpelc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.