TeleCrawler is a program that lets you retrieve telegram messages and download any files including restricted files using Bot token and Message URL.
- Clone the repository.
git clone https://github.com/NYDEV0/TeleCrawler
- Navigate to TeleCrawler.
cd TeleCrawler
- Install dependecy packages.
pip install -r requirements.txt
Once you download files and install requirements follow this steps.
- Run the main file
python3 crawler.py
- When prompted to give the bot token, provide the Telegram bot token obtained from Bot Father.
- When prompted to provide the Initial and Final message URL, use a Telegram link in the following format: https://t.me/channel_username/message_id.
- Once done, the progress will be shown. If you were crawling, the message would be saved in results.json. If you were downloading files, they would save in the download folder within the directory.