https://github.com/adbenitez/simplebot_downloader
File downloader plugin for SimpleBot
https://github.com/adbenitez/simplebot_downloader
deltachat downloader plugin simplebot
Last synced: about 1 year ago
JSON representation
File downloader plugin for SimpleBot
- Host: GitHub
- URL: https://github.com/adbenitez/simplebot_downloader
- Owner: adbenitez
- License: mpl-2.0
- Created: 2021-08-06T05:32:17.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T10:59:26.000Z (over 3 years ago)
- Last Synced: 2025-03-20T21:02:47.335Z (about 1 year ago)
- Topics: deltachat, downloader, plugin, simplebot
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: https://www.herokucdn.com/deploy/button.svg
:target: https://heroku.com/deploy?template=https://github.com/adbenitez/simplebot_downloader/tree/heroku/
"Downloader" SimpleBot Plugin
=============================
.. image:: https://img.shields.io/pypi/v/simplebot_downloader.svg
:target: https://pypi.org/project/simplebot_downloader
.. image:: https://img.shields.io/pypi/pyversions/simplebot_downloader.svg
:target: https://pypi.org/project/simplebot_downloader
.. image:: https://pepy.tech/badge/simplebot_downloader
:target: https://pepy.tech/project/simplebot_downloader
.. image:: https://img.shields.io/pypi/l/simplebot_downloader.svg
:target: https://pypi.org/project/simplebot_downloader
.. image:: https://github.com/adbenitez/simplebot_downloader/actions/workflows/python-ci.yml/badge.svg
:target: https://github.com/adbenitez/simplebot_downloader/actions/workflows/python-ci.yml
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
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 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
.. _SimpleBot: https://github.com/simplebot-org/simplebot