DEV Community

Cover image for Telegram Scarper (Scrap other pepole group members into your group)  - Python script
Raghav Khanna
Raghav Khanna

Posted on

Telegram Scarper (Scrap other pepole group members into your group) - Python script

TeleGram-Scraper is a telegram group scraper tool to fetch all information about group members.

Alt Text

API Setup

Go to http://my.telegram.org and log in.
Click on API development tools and fill the required fields.
put app name you want & select other in platform Example :
copy "api_id" & "api_hash" after clicking create app ( will be used in setup.py )

How To Install and Use

$ pkg install -y git python

$ git clone https://github.com/raghavkhanna30/Telegram-Scraper.git

$ cd Telegram-Scraper

Install requierments

$ python3 setup.py -i

setup configration file ( apiID, apiHASH )

$ python3 setup.py -c

To Genrate User Data

$ python3 scraper.py

( members.csv is default if you changed name use it ) Send Bulk sms To Collected Data

$ python3 smsbot.py members.csv

add users to your group ( in devlopment )

$ python3 groupadd.py members.csv

Update Tool

$ python3 setup.py -u

GIVE A START IF YOU FIND IT USEFUL😍

Top comments (31)

Collapse
 
zuchers profile image
zuchers

thanks for sharing!

Collapse
 
erraghavkhanna profile image
Raghav Khanna

Try and let m know for updation.
This tool is not updated from last 2 months.. I made it 2 months ago

Collapse
 
kartik9468 profile image
kartik9468 • Edited

Hello, Can you please add some features like automatic account switching in case limit of adding members or sending messages of one account is reached ad telegram allows adding only 40 members per account.
my email address is - kartik9468@gmail.com

Thread Thread
 
erraghavkhanna profile image
Raghav Khanna

For that you can make copy of the cloned directory. Each clone with a new account that's how at a single time you can run them all.. That feature can be added but rn i have stopped working on it. So i suggest you to make copy and use accordingly. Thanks

Thread Thread
 
kartik9468 profile image
kartik9468

Actually I have edited the code, Now I can login with multiple telegram profiles at once. I just want to make some more changes in code like making the code to switch accounts sequentially instead of randomly.Can you please help me ?

Thread Thread
 
mohithash profile image
Mohithash

contact me on telegram @Thehitman

Thread Thread
 
kartik9468 profile image
kartik9468

Not able to find you.
Please message me - @ap9168

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
zareefweb profile image
zareefweb

Bhai any update ? of this

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
kartik9468 profile image
kartik9468

Whenever I try this
pkg install -y git python
it says error as
pkg' is not recognized as an internal or external command,
Please help me out

Collapse
 
erraghavkhanna profile image
Raghav Khanna

Which machine are you using? Are you running in termux?

Collapse
 
kartik9468 profile image
kartik9468 • Edited

I am using it on windows CMD

Also I want to add features like automatically switch profiles when telegram blocks one profile from adding more members.
So that we can feed 20-30 accounts at once and then it will switch accounts automatically after adding avery 20-30 members, so that we can use those accounts for lifetime without getting blocked

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
varun800358 profile image
Varun

Contact me to get script in which you can add multiple accounts at once so that whenever flood error occurs in one account ,it switches to other account for adding members. Everything is fully automatic and can add members really fast. It can also sort members based on last seen time
Telegram - @ap9168
Email - kartik9468@gmail.com
I also add members at very less rate
I have telegram boss multiple pc version also available

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
abutalha786 profile image
Abutalha786

Will we get a flood error in this script.

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
hemoreal profile image
Hemoreal

$ python3 groupadd.py members.csv

The group I created are not showing

Collapse
 
deksplorer profile image
Deksplorer

Hello. Can you tell me how to use the script? Thanks

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
hemoreal profile image
Hemoreal

Getting flood error from telegram, please what should I do

Collapse
 
varun800358 profile image
Varun

I have developed its advanced version and able to add 4000 members a day without any issue, by logging in multiple numbers at a time.
My telegram - @ap9168

Thank you!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.