tangyoha / telegram_media_downloader

基于Dineshkarthik的项目, 电报视频下载,电报资源下载,跨平台,支持web查看下载进度 ,支持bot下发指令下载,支持下载已经加入的私有群但是限制下载的资源, telegram media download,Download media files from a telegram conversation/chat/channel up to 2GiB per file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v2.2.0 plan

tangyoha opened this issue · comments

checklist

  • 下载页面展示 v2.1.1
  • 支持多频道下载 v2.1.4
  • 支持通过电报机器人下发指令,下载,转发,包括私有视频转发 v2.1.6
  • 支持指定下载文件大小,日期,消息文本,消息id,视频质量,视频长度过滤,v2.1.3。查阅 如何使用下载过滤器

checklist

  • Download page display v2.1.1
  • Support multi-channel download v2.1.4
  • Support sending instructions, downloading, reposting, including private video reposting via telegram bot v2.1.6
  • Support specifying download file size, date, message text, message id, video quality, video length filtering, v2.1.3. Check out How to use Filter

great job Now Telegram Media Downloader more professional
Please if u can add option for download size maximum downloaded
and make file save id number in save for example data.yaml

@Romntic hi, you can config download_filter in config.yaml.
Like that:

download_filter:
  'telegram_chat_id': media_file_size >= 10 * 1024 * 1024 && media_file_size <= 1024 * 1024 * 1024

For more usage, please see How to use Filter
"what mean make file save id number in save for example data.yaml", what does this mean?

great that mean size 1024 below download if more not download true ? if wand select between 1 mg to 900 mg ... if u can more explain to make more understand

download_filter:
  'telegram_chat_id': (media_file_size >= 10 * 1024 * 1024 && media_file_size <= 1024 * 1024 * 1024) && ( message_id >=1 && message_id <= 900)

i need to make download from 8474 to 8547 only
i make this filter but it's download from start 1
download_filter:
telegram_chat_id: message_id >= 8474 && message_id <=8575

i need to make download from 8474 to 8547 only i make this filter but it's download from start 1 download_filter: telegram_chat_id: message_id >= 8474 && message_id <=8575

you can see https://github.com/tangyoha/telegram_media_downloader/wiki/How-to-use-Filter

in config.yaml

chat_id: your_chat_id
download_filter:
   'your_chat_id': message_id >= 1 && message_id <= 900

like:

chat_id: -1111111
download_filter:
   '-1111111': message_id >= 1 && message_id <= 900

Thanks it's working 🙏🙏

commented

Great work. For macOS, 127.0.0.1:5000 (5000 is reserved for airplay), would be great if user can specify port in config.yaml.

@70m7E hi, see web_port

any update?

when we stop programe in between and start again showing error. how to restart again from it close