DEV Community

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

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

erraghavkhanna profile image Raghav Khanna ・1 min read

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😍

Discussion (20)

pic
Editor guide
Collapse
zuchers profile image
zuchers

thanks for sharing!

Collapse
kartik9468 profile image
kartik9468

I am having an advanced version of this script. You can contact me on telegram @ap9168 for that.
I has multiple login feature which automatically switches account whenever limit of one account is reached
Email - kartik9468@gmail.com
Telegram - @ap9168

Collapse
erraghavkhanna profile image
Raghav Khanna Author

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

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 Author

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
kartik9468 profile image
kartik9468

I am having an advanced version of this script. You can contact me on telegram @ap9168 for that.
I has multiple login feature which automatically switches account whenever limit of one account is reached without getting blocked.
Please message by any following means -
Email - kartik9468@gmail.com
Telegram - @ap9168

Collapse
zareefweb profile image
zareefweb

Bhai any update ? of this

Thread Thread
kartik9468 profile image
kartik9468

I am having an advanced version of this script. You can contact me on telegram @ap9168 for that.
I has multiple login feature which automatically switches account whenever limit of one account is reached
Email - kartik9468@gmail.com
Telegram - @ap9168

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 Author

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

Collapse
kartik9468 profile image
kartik9468

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
kartik9468 profile image
kartik9468

I am having an advanced version of this script. You can contact me on telegram @ap9168 for that.
I has multiple login feature which automatically switches account whenever limit of one account is reached without getting blocked.
Please message by any following means -
Email - kartik9468@gmail.com
Telegram - @ap9168

Collapse
abutalha786 profile image
Abutalha786

Will we get a flood error in this script.

Collapse
gun1127 profile image
gun1127

why does it come empty when it comes to selecting groups

Collapse
mfadhil28 profile image
Fadhil Mhd

how to add config file

Collapse
deksplorer profile image
Deksplorer

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

Collapse
kartik9468 profile image
kartik9468

I am having an advanced version of this script. You can contact me on telegram @ap9168 for that.
I has multiple login feature which automatically switches account whenever limit of one account is reached without getting blocked.
Please message by any following means -
Email - kartik9468@gmail.com
Telegram - @ap9168