telegram-apk-downloader/README.md

22 lines
807 B
Markdown
Raw Normal View History

2020-11-25 22:40:20 +01:00
# telegram-bot-youtube-downloader
2020-11-25 22:33:13 +01:00
2020-11-25 22:40:20 +01:00
Set in your environment the following variables:
- `BOT_TOKEN` telegram token for your bot
- `CONF_FOLDER` conf folder with the `gplaycli.conf` file and the `token.cache` file
Usage:
- Send link of android app or package name to the bot
- The bot will download the APK and send it
- If the APK is larger than 50MB, it is split into smaller parts,
which then need to be concatenated (in linux: cat file.apk* > file.apk)
This script require:
- Python3 interpreter
- telegram python api https://github.com/python-telegram-bot/python-telegram-bot
- gplaycli https://github.com/matlink/gplaycli/ (installed on the machine)
Alternatively, use docker/docker-compose
Tips:
- Use PythonAnyWhere for hosting the bot https://www.pythonanywhere.com