It allows you to get all telephone numbers (if any are open) from telegram groups users, and save it to CSV file
- Download and install python 3
-
Download phoneparsertg, and extract it to
C:\phoneparsertg -
Win+X - Windows Powershell
cd c:\phoneparsertg -
run
pip install -r requirements.txt -
Create config.ini file with the following contents from
User application
In order to start using this bot, it is necessary to obtain API ID and API HASH for your user account.
It can be done via https://my.telegram.org/. Enter your phone number, verify with the sent code and go to the API Development Tools page. There create an app and copy API ID and API HASH.
and afterwards create an application (it can be Android app, can be Desktop app - doesn't matter)
you will recieve api_id and api_hash values those need to be in config.ini, and the last value in config.ini is your TELEGRAM username
[mytgauth][https://my.telegram.org/auth]
[main]
api_id = 3719444
api_hash = 7401507f43992e80d3e4fd400c1e4444
username = @yourusername
Win+X
cd c:\phoneparsertg
go to your command line to folder with phoneparsertg
enter: python main.py
then you will get a request for channel name, enter channel and wait data to parse, you will get an CSV file in folder csv , named after channel name