trojblue / telegram-tldr-bot

telegram URL retriever

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram URL retriever

Installation

git clone https://github.com/trojblue/telegram-tldr-bot
cd telegram-tldr-bot
pip install -r requirements.txt

Get bot ID

  1. go to: https://my.telegram.org/apps and obtain api_id and api_hash
  2. modifyconfig.inifile and replace with your own credentials:
[pyrogram]
api_id = 123456
api_hash = 1234567890abcdef1234567890abcdef

Usage

  1. find the required user and group IDs:
python pyro_get_ids
  1. scrape images (modify TARGET_USER_ID and TARGET_CHAT_ID):
python pyro_scrape_chat

About

telegram URL retriever

License:GNU General Public License v3.0


Languages

Language:Python 100.0%