Zimscraperlib

Latest version: v5.1.1

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

Scan your dependencies

Page 4 of 8

1.8.0

Added

- `download.get_session()` to build a new requests Session

Changed

- `download.stream_file()` accepts a `session` param to use instead of creating one

1.7.0

Added

- `zim.Creator` now supports `ignore_duplicates: bool` parameter to
prevent duplicates from raising exceptions
- `zim.Creator.add_item`, `zim.Creator.add_redirect` and `zim.Creator.add_item_for`
now supports a `duplicate_ok: bool` parameter to prevent an exception
should this item/redirect be a duplicate

1.6.3

Added

- `download.stream_file()` supports passing `headers` (scrapers were already using it)

1.6.2

Changed

- Fixed `filesystem.get_content_mimetype()` crashing on non-guessable byte stream

1.6.1

Changed

- Wider range of accepted lxml dependency version as 4.9.1 fixes a security issue

1.6.0

Not secure
Added

- `Archive.get_metadata_item()` to retrieve full item instead of just value

Changed

- Using pylibzim v1.1.0 (using libzim 7.2.1)
- Adding duplicate entries now raises RuntimeError
- filesize is fixed for larger ZIMs

Page 4 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.