Now detects total pages correctly (fixes getting stuck at 1 page).
Downloads comics properly by ensuring direct download links are fetched.
Optimized scanning of already downloaded comics to avoid slowdowns.
Comics are now downloading properly! 🎉
Progress bar shows active downloads with speed and size.
Total pages detection is fixed.
Now scans Books and Downloads folders across all drives for already downloaded comics.
Improved efficiency by only checking relevant folders, reducing unnecessary scans.
Ensures fast and accurate detection before starting downloads.📌 Bug Fixes & Improvements
Fixed Pagination Detection:
Correctly fetches the maximum number of pages for each category and home page instead of stopping early.
🔍 Enhanced Download Link Detection
Expanded Link Search:
If no direct download link is found, the script now searches for:
✅ MegaDrive Links
✅ WeTransfer Links
✅ Mirror Download Links
✅ Main Server Links
🛠 Other Improvements
More Reliable Total Page Detection:
Adjusted the way the script extracts the last page number for better accuracy.
Skips Already Downloaded Comics Efficiently:
Ensures comics already present in Books and Downloads folders (across all drives) are skipped.
Better Error Handling:
Handles timeouts and errors when fetching pages, ensuring the script doesn’t get stuck.
Improved Logging:
Provides clearer console output when processing each comic.
i have created a additional script to remove corrupted comics and it requires no user input