sudoisytdl/README.md

1.2 KiB

sudoisytdl

Build Status Docker Image Version (latest semver) Docker Image Size (latest by date)

A simple Telegram bot made with python-telegram-bot and youtube-dl to download YouTube videos.

This was a weekend hack project.

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). Given that the links only live for 60 minutes, this should be sufficient.

Upstream repo: git.sudo.is/ben/sudoisytdl

GitHub mirror: github.com/benediktkr/sudoisytdl.