ben
a3cae171c6
ben/sudoisytdl/pipeline/head Something is wrong with the build of this commit
Details
|
||
---|---|---|
sudoisytdl | ||
tests | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
poetry.lock | ||
pyproject.toml | ||
run.sh |
README.md
sudoisytdl
A simple Telegram bot made with python-telegram-bot and youtube-dl, to download YouTube videos. Dokerfile (and batteries) included.
The Telegram API doesn't allow for uploading files larger than 50MB, so this will copy the file to a webserver and send the user a link that expires after 60 minutes. The link has a SHA-256 hash of the filename and Telegram username, and the web server should disallow file listing (and set a robots.txt to disallow search engines as well). The default setting is to remove the files after a time interval of 60 mins.