mirror of
https://github.com/alfem/telegram-download-daemon.git
synced 2025-03-02 00:56:20 +08:00
Merge branch 'upstream/master' into docker
This commit is contained in:
commit
7c2d985c4e
3 changed files with 14 additions and 6 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
.vscode
|
||||||
|
.venv
|
|
@ -12,13 +12,12 @@ or daemon to allow bigger downloads (limited to 1.5GB by Telegram APIs).
|
||||||
|
|
||||||
You need Python3 (tested in 3.5).
|
You need Python3 (tested in 3.5).
|
||||||
|
|
||||||
Install Telethon module (using pip or your OS package system):
|
Install dependencies by running this command:
|
||||||
|
|
||||||
pip install --user telethon
|
pip install -r requirements.txt
|
||||||
|
|
||||||
Install cryptg to use a C library to speed up downloads (optional)
|
(If you don't want to install `cryptg` and its dependencies, you just need to install `telethon`)
|
||||||
|
|
||||||
pip install --user cryptg
|
|
||||||
|
|
||||||
Obtain your own api id: https://core.telegram.org/api/obtaining_api_id
|
Obtain your own api id: https://core.telegram.org/api/obtaining_api_id
|
||||||
|
|
||||||
|
|
7
requirements.txt
Normal file
7
requirements.txt
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
cffi==1.14.0
|
||||||
|
cryptg==0.2.post0
|
||||||
|
pyaes==1.6.1
|
||||||
|
pyasn1==0.4.8
|
||||||
|
pycparser==2.20
|
||||||
|
rsa==4.0
|
||||||
|
Telethon==1.12.0
|
Loading…
Reference in a new issue