Hi,
I have a use-case where I want to iterate through all the articles with mimetype text/html of a zim file. I can see that there's a way to iterate through all the articles in CPP (here) using the zim::File::const_iterator. However, I would prefer doing this in Python.
I don't see any function get_article_by_id or get_entry_by_id in Python to iterate over the zim file. I only see a function _get_entry_by_id, which I can filter from, to get the entries I want. Is it safe to use _get_entry_by_id?
Do you have any suggestions on how to do this with libzim?
Thanks.
Hi,
I have a use-case where I want to iterate through all the articles with mimetype
text/htmlof a zim file. I can see that there's a way to iterate through all the articles in CPP (here) using thezim::File::const_iterator. However, I would prefer doing this in Python.I don't see any function
get_article_by_idorget_entry_by_idin Python to iterate over the zim file. I only see a function _get_entry_by_id, which I can filter from, to get the entries I want. Is it safe to use_get_entry_by_id?Do you have any suggestions on how to do this with libzim?
Thanks.