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.
- 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.
pip3 install -r requirements.txt
First, obtain the bookmarks json file from Firefox: |
---|
Then, run the script:
python main.py /path/to/bookmarks.json
firefox-bookmarks-invalidator-demo.mp4
Special thanks to Claude 3.5 Sonnet
for the code assistance.