Zimscraperlib

Latest version: v3.3.2

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

Scan your dependencies

Page 3 of 7

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

1.5.0

Not secure
Added

- `zim.Archive.tags` and `zim.Archive.get_tags()` to retrieve parsed Tags
with optionnal `libkiwix` param to include libkiwix's hints
- [tests] Counter tests now also uses a libzim6 file.

Changed

- `zim.Archive.article_counter` follows libkiwix's new bahavior of
returning libzim's `article_count` for libzim 7+ ZIMs and
returning previously returned (parsed) value for older ZIMs.

Removed

- Unreachable code removed in `imaging` module.
- [tests] “Sanskrit” removed from tests as output not predicatble depending on plaftform.

1.4.3

Not secure
* `zim.Archive.counters` wont fail on missing `Counter` metadata

1.4.2

Not secure
* Fixed leak in `zim.Archive`'s `.counters`
* New `.get_text_metadata()` method on `zim.Archive` to save UTF-8 decoding

1.4.1

Not secure
* New `Counter` metadata based properties for Archive:
* `.counters`: parsed dict of the Counter metadata
* `.article_counter`: libkiwix's calculation for nb or article
* `.media_counter`: libkiwix's calculation for nb or media
* Fixed `i18n.find_language_names()` failing on some languages
* Added `uri` module with `rebuild_uri()`

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.