tdl

command module
v0.1.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

tdl

📥 Telegram Downloader, but more than a downloader

A fork for myself to use :
  • using ffmpeg to get video info and split video
  • add -as-album and -max-album-size flags to upload as album
  • add -max-file-size flag to auto split video file if it is greater than the value, default is 2GB
  • add -caption flag to add custom caption header
  • add -app-id and -app-hash flags to use your own app id and app hash. If not set, it will use the app id and app hash of iyear
  • add -caption-header and -caption-body and -caption-footer flags to add custom caption
  • if set --rm flag, it will also remove thumbnail after uploading
2025-01-27
  • drop files with size 0 before upload
  • send uploaded file as album when upload cancelled by user
  • fix video frame rate parsing bug
2025-01-30
  • add -thumb-time flag to set thumbnail time, default is 00:00:01
  • When the sending conditions are met, the message will be sent immediately instead of waiting for all files to be uploaded.
  • fix video duration bug when flag -as-album is not set
2025-02-01
  • add -force-mp4 flag to force to upload video as video/mp4 even if the file is not a mp4 video
2025-02-10
  • add logger module
  • remove file only after send sucessfully
2025-03-08
2025-03-25
  • thumb file name is the same as the video file name(with extension) with extension '.thumb'

English | 简体中文

Features:
  • Single file start-up
  • Low resource usage
  • Take up all your bandwidth
  • Faster than official clients
  • Download files from (protected) chats
  • Forward messages with automatic fallback and message routing
  • Upload files to Telegram
  • Export messages/members/subscribers to JSON

Preview

It reaches my proxy's speed limit, and the speed depends on whether you are a premium

Documentation

Please refer to the documentation.

Sponsors

Contributors

contributors

LICENSE

AGPL-3.0 License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
dl
up
core
pkg
key
kv
ps
tdesktop
Package tdesktop exports functions from github.com/gotd/td/session/tdesktop package
Package tdesktop exports functions from github.com/gotd/td/session/tdesktop package
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址