Telegram bot developed using the Pyrogram library that allows the download of forwarded files.
telethon_downloader Dockerhub
This Telegram Bot, built with the Pyrogram client, is designed to automatically download documents, videos, photos, audios, and much more. With significantly faster speeds than its predecessor made with Telethon, this bot ensures quick and efficient downloads of all types of files sent to it. Additionally, it now offers the capability to download videos and audios from YouTube, as well as direct links to files via their URL.
Here is a list of new features included in this Telegram bot built with Pyrogram:
Extended Functionality:
New Features Coming Soon:
Enjoy an automated and organized downloading experience with telethon_downloader!


Pull or build the docker image and launch it with the following environment variables:
API_ID : <telegram API key generated at ´Generating Telegram API keys´>
API_HASH : <telegram API hash generated at ´Generating Telegram API keys´>
BOT_TOKEN : <telegram BOT token generated at ´Creating a Telegram Bot´>
AUTHORIZED_USER_ID : <telegram ´chat_id´ authorized>
NOTE: Unique identification of the user(s) who have permission to send files to the bot. If there are multiple authorized users, separate their IDs with commas
TZ [OPTIONAL]: <Sets the system timezone, adjusting it based on the geographical location of the server or user.
Example: America/Santiago
MAX_CONCURRENT_TASKS [OPTIONAL] : <maximum number of parallel downloads allowed (default: 3, maximum 4)>
NOTE: Allows you to define the maximum number of simultaneous downloads
/config: Path where configuration files are stored, along with files pending download and recent downloads.
/download: Folder designated for file downloads. All files sent to the bot will be saved in this location.
/watch: Folder used for storing torrent files that will be managed by the transmission/qbittorrent system. Files in this folder will be automatically uploaded and handled by the torrent client.
version: '3.8'
services:
telegram-downloader:
image: jsavargas/telegram-downloader
container_name: telegram-downloader
restart: unless-stopped
environment:
- API_ID=${API_ID}
- API_HASH=${API_HASH}
- BOT_TOKEN=${BOT_TOKEN}
- AUTHORIZED_USER_ID=${AUTHORIZED_USER_ID}
- TZ=America/Santiago
- MAX_CONCURRENT_TASKS=${MAX_CONCURRENT_TASKS} or TG_MAX_PARALLEL=${TG_MAX_PARALLEL}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /path/config:/config
- /path/download:/download
- /path/torrent/watch:/watch
Content type
Image
Digest
sha256:007c6a401…
Size
522.2 MB
Last updated
about 1 year ago
docker pull jsavargas/telegram-downloader