A light, libre and oh-so-fast downloader for YouTube.
https://webdl.herokuapp.com
- Python 40.5%
- HTML 30.6%
- CSS 26.4%
- Dockerfile 1.4%
- Shell 0.9%
- Other 0.2%
| .profile.d | ||
| .vscode | ||
| web | ||
| .buildpacks | ||
| .gitignore | ||
| Dockerfile | ||
| downloader.py | ||
| LICENSE | ||
| Procfile | ||
| README.md | ||
| requirements.txt | ||
| server.py | ||
| tox.ini | ||
webdl
A light, libre and oh-so-fast downloader for YouTube. In all of 2,596 bytes.
===========
How it works
The webdl downloader uses ffmpeg and youtube to do all the hard work. The server is written in asynchronous Tornado, and uses state-of-the-art techniques like compression and caching. This is speed pushed to its limits.
Dependencies
- yasm (not strictly required but offers significant speed boost)
- ffmpeg, compiled with the libmp3lame codec (required to convert to mp3 format)
- Tornado
Run it yourself
# OS X using Homebrew
brew install yasm lame ffmpeg --with-lame
# APT
sudo apt-get yasm libmp3lame0 ffmpeg
git clone https://github.com/xrisk/webdl.git
cd webdl
mkdir mp3cache
mkdir mp4cache
pip install -r requirements.txt
export PORT=5000
python -u server.py
Then navigate to http://localhost:5000 to see it in action.
License
Distributed under the MIT license.
