- `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