TGParse - is a program on Python, that parse Telegram chat users and make a csv file with them. TGParse is working like a userbot, it enters your Telegram account and after that you need to choose a chat or a channel that you want to parse.
You can parse any chats in which you are a member. You can also parse channels, but only those in which you are an administrator and also must have less than 200 subscribers.
You need to install python3
(or just python
), git
, python3-pip
(or python-pip
) and telethon
library.
Clone the repo:
git clone https://github.com/memb3r/TGParse
Move to TGParse
folder:
cd TGParse
Installing telethon
:
pip install telethon
First, you need to open tgparse.py
, change api_id
, api_hash
and phone
variables and after that save the file. API ID and API hash you can take from https://my.telegram.org/apps (optionally, you can change the App name and Short name to TGParse. Then you will be more comfortable)
Then, open tgparse.py
:
python3 tgparse.py
# Or python tgparse.py, if you can't install python3
Now you must register. To do this, enter your phone number (or bot token), code (which was sent to your account) and two-factor authentication password (if you have one).
That's all. Just enter a number of a chat, that you want to parse and press "Enter".
This project is licensed under the MIT License
- see file LICENSE for details.