Hathitrust-downloader

Latest version: v1.2.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.2.1

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.

1.2.0

Release Notes

New Features:
- **Automatic Directory Creation**: The downloader now automatically creates the directory path if it doesn't exist when saving files. This prevents errors related to missing directories and ensures a smoother download process (commit `ed5e60e`).

Dependency Updates:
- **`requests` Updated to v2.32.3**: Updated the `requests` package from v2.32.2 to v2.32.3 to include the latest bug fixes and performance improvements (commit `be8b670`).
- **`tqdm` Updated to v4.66.5**: Updated the `tqdm` package from v4.66.3 to v4.66.5 to benefit from the latest progress bar enhancements and fixes (commit `c96d736`).

Target Python Version Update:
- **Python 3.10 Support**: Updated the project configuration to officially support Python 3.10. This includes updating the GitHub Actions workflow and setup files to target Python 3.10, ensuring compatibility with the latest features and optimizations in the Python ecosystem (commit `4e00042`).

Documentation Improvements:
- **Help Text Update**: Improved the help text in the CLI to reflect more accurate and complete usage information. The description now correctly states "Book downloader for HathiTrust" and clarifies the usage of the `--name` argument for specifying file paths (commit `ad3a7ec`).



**Full Changelog**: https://github.com/Addono/HathiTrust-downloader/compare/v1.1.5...v1.2.0

1.1.5

This release includes a couple of security fixes by including newer versions of our upstream dependencies. In addition, the documentation on how to obtain the document ID has been slightly improved.

What's Changed
* build(deps): bump tqdm from 4.48.2 to 4.66.3 by dependabot in https://github.com/Addono/HathiTrust-downloader/pull/9
* build(deps): bump requests from 2.31.0 to 2.32.2 by dependabot in https://github.com/Addono/HathiTrust-downloader/pull/11


**Full Changelog**: https://github.com/Addono/HathiTrust-downloader/compare/v1.1.4...v1.1.5

1.1.4

> **Note**
>
> This is a re-release of 1.1.2 to ensure the Windows-installer files are attached to this release.

1.1.4rc.1

**Full Changelog**: https://github.com/Addono/HathiTrust-downloader/compare/v1.1.3...v1.1.4-rc.1

1.1.3

> **Warning**
>
> Broken CI prevented from creating a release artifact. Instead use release 1.1.4.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.