MANY THANKS. JOSEPH
==============================
On Wednesday, July 15, 2020, 8:29:14 p.m. GMT+7, Emmanuel Engelhart
<kelson(a)kiwix.org> wrote:
Hi
We have now updated our first scraper to use Python-libzim: youtube2zim,
cf.
https://pypi.org/project/youtube2zim/
See release 2.1.7 Changelog:
* using zimscraperlib 1.2.0
* replaced zimwriterfs with pylibzim
* tmp-dir now sanitized as build-dir
* fixed --debug not forwarded in playlists mode
* changed workdir to /output in docker image
As a consequence, anybody on macOS or GNU/Linux can now simply install
and then create ZIM files from a Youtube channel/user/playlist with
youtube2zim:
$sudo pip3 install -U youtube2zim
$youtube2zim --help
Other scrapers to follow in the next weeks.
Regards
Emmanuel
On 03.07.20 16:40, Emmanuel Engelhart wrote:
Hi
I'm happy to introduce you to Python-libzim.
Python-libzim package allows you to read/write ZIM files in Python. It
provides a shallow Python interface on top of the libzim C++ library. It
supports out-of-the-box macOS and GNU/Linux. For the other OSes you will
have to compile the libzim manually.
After Node.js, this is the second scripting language for which openZIM
proposes a binding of its famous reference implementation of the ZIM
open specification. This move is really important to allow more people
to benefit of the file format and ZIM files already published.
On our side, Python-libzim was critical for a few other projects which
are currently running. In the next months a few critical scrapers will
be migrated from zimwriterfs to python-libzim and benefit of a sensitive
code simplification and speed-up.
Install easily python-libzim with pip and give it a try:
https://pypi.org/project/libzim/
Happy coding!
Regards
Emmanuel
_______________________________________________
Offline-l mailing list
Offline-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/offline-l
--
Kiwix - Wikipedia Offline & more
* Web:
https://kiwix.org/
* Twitter:
https://twitter.com/KiwixOffline
* Wiki:
https://wiki.kiwix.org/
_______________________________________________
Offline-l mailing list
Offline-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/offline-l