No description, website, or topics provided.
JavaScript CSS Python HTML
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 40 commits behind openzim:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
ISO-639-2_utf-8.txt
README.md
changelog.txt
dominantColor.py
requirements.txt
youtube2zim.py

README.md

This script made a .zim file of video from youtube user or youtube playlist.

== Usage ==

python youtube2zim.py [your user url or playlist url] [lang of your zim archive] [publisher]


You can use --lowquality option that will download the video in mp4 and re-encode aggressively in webm

== Building ==

It's advised, that you have pip installed. Chose one of the following methods to do that:

sudo apt-get install python-setuptools python-dev

sudo easy_install pip

It's advised, that you have virtualenv installed:

sudo pip install virtualenv

Up next you have to create a virtual enviroment in the kiwix-other/TED/ directory for the TED Scraper:

virtualenv --no-site-packages venv 

Activiate the virtual enviroment:

source venv/bin/activate

Requirements are in requirements.txt you just need to make :

pip install -r requirements.txt

You will aslo need ffmpeg to convert mp4 format to webm format (maybe ffmpeg is remplace by avconv in your distribution so you have to modify script)

You also need zimwriterfs binary in this folder, zimwriterfs can be found at https://sourceforge.net/p/kiwix/other/ci/master/tree/zimwriterfs/