Skip to content

Hedon is a simple script for scraping Telegram chat data which are publicly availible. It uses Telethon library for accessing Telegram API.

License

Notifications You must be signed in to change notification settings

marekuzel/Telegram-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Scraper

Telegram chat scraper

Telegram Scraper is a simple script for scraping Telegram chat data which are publicly available. It uses the Telethon library for accessing Telegram API. The scraper runs from a UNIX terminal and is written in Python 3.

For scraper to work you will need to create a Telegram API key (see Use section for more information).

State

This project is still in development.

Use

Before using you need to create a Telegram API key. You can find more information about creating Telegram API key here. After creating the key you need to create a file named config.ini in the same directory as scrap.py and add the following lines to it:

[Telegram]
api_id = #your api id
api_hash = #your api hash
username = #your username

After that you can run the script with the following commands:

./scrap.py
#runs the main script
./scrap.py -h
#shows help
./scrap.py -c
#generates channel list

License

GNU GPL

About

Hedon is a simple script for scraping Telegram chat data which are publicly availible. It uses Telethon library for accessing Telegram API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published