Releases: openzim/python-scraperlib
Releases · openzim/python-scraperlib
2.0.0
- Using pylibzim v2.1.0 (using libzim 8.1.0)
Added
- [libzim]
Entry.get_redirect_entry()
- [libzim]
Item.get_indexdata()
to implement custom IndexData per entry (writer) - [libzim]
Archive.media_count
Changed
- [libzim]
Archive.article_count
updated to match scraperlib's version Archive.article_counter
now deprecated. Now returnsArchive.article_count
Archive.media_counter
now deprecated. Now returnsArchive.media_count
Removed
- [libzim]
lzma
compression algorithm
1.8.0
1.7.0
Added
zim.Creator
now supportsignore_duplicates: bool
parameter to
prevent duplicates from raising exceptionszim.Creator.add_item
,zim.Creator.add_redirect
andzim.Creator.add_item_for
now supports aduplicate_ok: bool
parameter to prevent an exception
should this item/redirect be a duplicate