Skip to content

Collects contact data from Telegram groups and sends custom messages to those contacts. Based on TeleGram-Scraper by th3unkn0n.

Notifications You must be signed in to change notification settings

Lucia361/telegram-scrapper

Repository files navigation

Telegram Scrapper

Based on TeleGram-Scraper by th3unkn0n.

This version supports secret chat DMs.

telethon-secret-chat

Includes the latest version of telethon-secret-chat, as of June 8th, 2021, for dealing with secret chats.

This program requires an SQLite fix not yet available on telethon-secret-chat 0.2.4, hosted on the Python Package Index.

API Setup

  • Go to http://my.telegram.org and log in.
  • Click on API development tools and fill the required fields.
  • Insert an app name.
  • Copy "api_id" and "api_hash" after creating the app.
    • They will be used during setup.

Installation and Usage

  • Install requirements for Ubuntu:

# apt install -y git python

$ git clone https://github.com/klement01/telegram-scrapper.git

$ cd telegram-scrapper

  • Setup configuration file (using the api_id and api_hash):

$ python setup.py -i

  • Generate user data:

$ python setup.py -c

  • Collect contact data from Telegram groups:

$ python scrapper.py

  • Send bulk SMS to collected data:

$ python smsbot.py members.csv

  • Update:

$ python setup.py -u

About

Collects contact data from Telegram groups and sends custom messages to those contacts. Based on TeleGram-Scraper by th3unkn0n.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages