Merge branch 'master' of github.com:alfem/telegram-download-daemon

This commit is contained in:
Baruch Odem 2020-04-23 21:36:17 +03:00
commit f5d3a7ceee

View file

@ -6,21 +6,40 @@ If you have got an Internet connected computer or NAS and you want to automate f
daemon is for you.
Telegram bots are limited to 20Mb file size downloads. So I wrote this agent
or daemon to allow bigger downloads.
or daemon to allow bigger downloads (limited to 1.5GB by Telegram APIs).
# Installation
You need Python3 (tested in 3.5).
Install Telethon module (using pip or your OS package system):
pip install --user telethon
Install cryptg to use a C library to speed up downloads (optional)
pip install --user cryptg
Obtain your own api id: https://core.telegram.org/api/obtaining_api_id
<<<<<<< HEAD
# Usage
=======
Edit telegram-download-daemon.py and put your own api_id and api_hash values
into the proper variables.
Change the destination folder if desired.
Use your favorite Telegram app to create a new (private) channel.
Change the channel_id in telegram-download-daemon.py.
Run the script!
>>>>>>> e9244216def3c26de7acb3e2599205fffd9a42f4
You need to configure these values: