Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.69 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.69 KB

firefox-bookmark-invalidator

Description

firefox-bookmark-invalidator is a Python script designed to validate and analyze the URLs stored in your Firefox bookmarks. The script processes a JSON file exported from Firefox, checks the validity of each URL, and provides a detailed summary of valid and invalid websites. It also offers insights into the types of protocols and top-level domains used in your bookmarks.

Features

  • URL Validation: Tests each URL for accessibility and categorizes them as valid or invalid.
  • Error Grouping: Groups invalid URLs by common error types for easier troubleshooting.
  • Bookmark Analysis: Provides statistics on protocol handlers, top-level domains, and other interesting metrics.
  • System Time Check: Ensures your system clock is synchronized with an NTP server to avoid SSL certificate validation failures due to time discrepancies.
  • Interactive Display: Dynamically updates the terminal display with the current status of URL validation.

Setup

pip3 install -r requirements.txt

Usage

First, obtain the bookmarks json file from Firefox:
First Step
Second Step
Third Step

Then, run the script:

python main.py /path/to/bookmarks.json

Video in action

firefox-bookmarks-invalidator-demo.mp4

Thanks

Special thanks to Claude 3.5 Sonnet for the code assistance.