Skip to content

Most comfortable telegram scraper and inviter for you. More in README.

License

Notifications You must be signed in to change notification settings

Keqy/telegram-scraper-v2.0-ENG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-scraper-v2.0-ENG. Scraper and inviter telegram groups. (Telethon)

Watermark

Updates

v2.0

  • now .session files can be use for authorization. Place them to directorty!
  • Added scraping user-ids.
  • option on/off user-names and user-ids scraping. (in options)
  • Converter phone numbers to .session

1. Preparation to launch.

First thing, find out your API_ID and API_HASH tokens. Go to: https://my.telegram.org/apps and authorize. Choice API Development Tools

12591615102022_5c20dcbcfbab07ab6c2df7e27444d5ac2afca569

In the next window, fill in App title and Short name. Choice desktop.

gfbauf

Press Create Application, copy API_ID и API_HASH.

API_ID and API_HASH are suitable for any accounts. You can use API_ID and API_HASH a third party account

2. Build project.

Windows

  • Download python 3.12 https://www.python.org/ftp/python/3.12.0/python-3.12.0-amd64.exe
  • When installing, be sure to check the Add to PATH box hgai
  • Open cmd. cd to scraper directory. For example: cd C:Users/Keqy/programs/repos/telegram-parser-v2.0
  • Create virtual environment py -m venv venv, activate it .\venv\Scripts\Activate
  • Install telethon pip install telethon

Linux/MacOS

  • Open cmd, update packages. sudo apt update
  • Install python and git. sudo apt install python3 python3-pip git -y
  • Download repository. git clone https://github.com/Keqy/telegram-parser-v2.0/
  • cd to scraper directory.
  • Create virtual environment py -m venv venv, activate it .\venv\bin\Activate

3. Usage.

image

In options enter your API_ID (only numbers) and API_HASH (numbers and letters) without spaces.

Here in points 3 and 4 you can on/off usernames and userids scraping option. By default, both will be scraped

Converter

Converter place in options in point Add user-bot account. Give the converter a phone number and enter the redeem code. In directory creates .session file for user-bot quick authorization. You also can place your .session files in program directory and use them. image

Converter does not work if API_ID and API_HASH incorrect for any new account DOES NOT required API_ID and API_HASH

Options are stored in options.txt in project directory. For escape, press e. The main menu will open.

image

Scraping

In scraping window, select account that is in groups for scraping.

image image

Sometimes telethon-library errors may appear here. In this case, you need to restart the program

Scraped usernames and user-ids will be located in project directory in usernames.txt and userids.txt.

Inviting

In inviting window, select account that is in groups for inviting. Then program ask you to enter the group name. image

Write to me in telegram @DonMinionAmerimaChesburger_