git clone https://github.com/trojblue/telegram-tldr-bot
cd telegram-tldr-bot
pip install -r requirements.txt
- go to: https://my.telegram.org/apps and obtain
api_id
andapi_hash
- modify
config.ini
file and replace with your own credentials:
[pyrogram]
api_id = 123456
api_hash = 1234567890abcdef1234567890abcdef
- find the required user and group IDs:
python pyro_get_ids
- scrape images (modify TARGET_USER_ID and TARGET_CHAT_ID):
python pyro_scrape_chat