Kindle Book Parser & Exporter
A userscript that automates parsing of your Kindle content list from Amazon’s Manage Your Content and Devices page. It collects metadata (title, author, acquired date, devices, read status, shared info), tracks pagination, detects gaps, and exports the full dataset to CSV for offline analysis.
✨ Features
- Automatic parsing of Kindle book rows across all pages.
- Deduplication of items by ASIN to avoid duplicates.
- Pagination handling:
- Detects current page and last page.
- Tracks processed pages and identifies gaps.
- Auto‑navigates through pages until complete.
- Read status tracking (
READ badge included).
- Device & sharing info extraction.
- CSV export:
- Union of all keys across items (no missing columns).
- Arrays flattened with semicolons.
- Auto‑download with timestamped filename.
- Recheck button to reset and reprocess all pages.
⚙️ How It Works
- The script runs on Amazon’s Kindle content list (
booksAll/dateAsc/?pageNumber=*).
- Script will only run on /dateAsc (date ascending) so as books are added the checked items shouldn’t be affected.
- Each page’s rows are parsed into structured JSON and stored in
localStorage.
- Pagination is automatically advanced until all pages are processed.
- Once complete, a CSV file is generated and downloaded.
- You can re‑run the process at any time with the Recheck All Pages button.
📦 Installation
- Install Tampermonkey or Violentmonkey or your script manager of choice.
- Add the userscript from this repository directly here or from greasyfork
- Visit your Amazon Kindle content list.
- The script will begin parsing automatically.
- For large collections leave the browser page active but it shouldn’t take too long.
📝 License
GNU GPL V3