New Features and Enhancements:
- **Improved Error Handling:**
- Added specific error messages for HTTP status codes:
- `404 Not Found`: Provides detailed error when a page is not found.
- `500 Server Error`: Prints a message indicating that the server failed to serve a page, which may indicate an invalid book identifier.
- Improved user experience by offering clearer guidance in case of errors during downloads.
---
Technical Improvements
CI/CD Updates:
- **Dependabot Integration:**
- Dependabot configuration added to automatically manage and update GitHub Action dependencies on a weekly schedule.
Testing Improvements:
- **Bats Tests Integration:**
- Implemented Bats tests for the HathiTrust Downloader module and integrated them into the CI pipeline.
- Tests cover scenarios such as:
- Checking CLI availability.
- Downloading single and multiple pages.