Skip to content

adbenitez/simplebot_downloader

Repository files navigation

"Downloader" SimpleBot Plugin

https://pepy.tech/badge/simplebot_downloader

A SimpleBot plugin that allows to download files by email/DeltaChat.

Install

To install run:

pip install simplebot-downloader

Customization

By default the maximum file size allowed is 300MB, to change it, pass the number of bytes as follows:

simplebot -a [email protected] db -s simplebot_downloader/max_size 10485760

By default the file will be sent in several emails split in chunks of 15728640 Bytes (15MB), to change it:

simplebot -a [email protected] db -s simplebot_downloader/part_size 10240

By default there is a delay of 60 seconds between each sent chunk, to change it:

simplebot -a [email protected] db -s simplebot_downloader/delay 120

By default the bot is in "filter" mode, this mean to queue downloads you just send the file link directly, to download with a command instead:

simplebot -a [email protected] db -s simplebot_downloader/mode command