Make ZIM file from TED Talks
Project description
ted2zim
TED (Technology, Entertainment, Design) is a global set of conferences under the slogan "ideas worth spreading". They address a wide range of topics within the research and practice of science and culture, often through storytelling. The speakers are given a maximum of 18 minutes to present their ideas in the most innovative and engaging ways they can. One can eaisly find all the TED videos here.
This project is aimed at creating a sustainable solution to make TED accessible offline by creating ZIM files providing these videos in a similar manner like online.
Getting started :rocket:
Install the dependencies
Make sure that you have python3
, unzip
, ffmpeg
, wget
and curl
installed on your system before running the scraper (otherwise you'll get a warning to install them).
Setup the package
One can eaisly install the PyPI version but let's setup the source version. Firstly, clone this repository and install the package as given below.
python3 setup.py install
That's it. You can now run ted2zim
from your terminal
ted2zim --topics [TOPICS] --name [NAME]
For the full list of arguments, see this file or run the following
ted2zim --help
Example usage
ted2zim --topics="augmented reality" --max-videos-per-topic=10 --debug --name="augumented_reality" --format=mp4 --title="Augmented Reality" --description="TED videos in AR category" --creator="TED" --publisher="openzim" --output="output" --keep --low-quality
This project can also be run with docker. Use the provided Dockerfile to run it with docker. See steps here.
Features :robot:
You can create ZIMs for multiple topics (should be same as given here), choose between different video formats (webm/mp4), different compression rates, and even use an S3 based cache.
License :book:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ted2zim-2.0.0.tar.gz
.
File metadata
- Download URL: ted2zim-2.0.0.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50ffafa1f0ce017567462db7500231b60c66d6dc9bf9627edd0546b8ffff000 |
|
MD5 | 8d717a17c3bcedb8743ae97c5ba3bf57 |
|
BLAKE2b-256 | 15116bdd9a54732ed53520aaa7e37aa6a98f7c4a1c571033e623f38397e2c1ba |
File details
Details for the file ted2zim-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: ted2zim-2.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34e4e6fbd90a8cb56d51c0842c9e5ec2e848f274e4d3ed1997ab49b04315f34 |
|
MD5 | 4e4c9ccd850af1f706efef5fb9001f54 |
|
BLAKE2b-256 | d72037abc360a7ebb49bffe9ebef7c920d588aed15c236b34ccb2346eb8550bd |