A SimpleBot plugin that allows to download files by email/DeltaChat.
To install run:
pip install simplebot-downloader
By default the maximum file size allowed is 300MB, to change it, pass the number of bytes as follows:
simplebot -a bot@example.com 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 bot@example.com 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 bot@example.com 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 bot@example.com db -s simplebot_downloader/mode command