Skip to content

telegram group scraper tool. fetch all information about group members

Notifications You must be signed in to change notification settings

Antiokh/TeleGram-Scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Scraper and Adder (Users, Messages, Addition, Sending, Metadata)

Initial release.

Usage: tgs.exe [command] [options]

Help on commands: tgs.exe [command] -h

Commands:

setup        Initial setup with data from https://my.telegram.org/apps
users        Scrape members from a group
add          Add members to a group
dump         Fetch messages and users from a group or channel into sqlite db
posts        Fetch messages from a group or channel
send         Send messages to users
license      Check the license or create a license request

Tested on Telegram groups with >400000 messages and >4000 users.

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/Antiokh/tgs.py

$ cd tgs.py

  • Install requierments

$ python3 setup.py -i

  • setup configration file ( apiID, apiHASH )

$ python3 setup.py -c

  • To Genrate User Data

$ python3 tgs.py scrape

  • To Add Users

$ python3 tgs.py add

  • To Spam

$ python3 tgs.py spam -i members.csv

To make it work on Termux:

  1. Install Termux from F-Droid (as Google Play’s version can’t use all the mirrors for packeges)
  2. Run $ pkg update & pkg upgrade -y
  3. Run $ pkg install rust
  4. Run $ pkg install termux-api
  5. Run $ pkg-install python-pip

About

telegram group scraper tool. fetch all information about group members

Resources

Stars

Watchers

Forks

Languages

  • Python 100.0%