799 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			799 B
		
	
	
	
	
	
	
	
telegram-apk-downloader
Set in your environment the following variables:
- BOT_TOKENtelegram token for your bot
- CONF_FOLDERconf folder with the- gplaycli.conffile and the- token.cachefile
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