🛠️How to setup Telegram Scraper

Guide to setup telegram scraper

Follow this tutorial on YouTube to obtain the required data:

Obtain API hash and API id

Now you can fill in the tg_config.json configuration file as shown in the following image.

tg_config.json example

The phone number should have the international prefix.

You can run now the file named session_creator in the bot folder

A Terminal window will show up and you will receive a message on telegram with a 6 digit code

Enter the code in the terminal and press enter

Check in the bot folder that the .session file is created.

session files example

This file must remain in the same folder as the bot when it is running

You can now use the telegram scraper in the bot

MAC users

For MAC users the usual rule applies. all files (including the session_creator file) must be placed in the HOME FOLDER. The rest of the procedure is identical

Last updated