Amazing-Python-Scripts

Форк
0

..
/
Telegram Get-Group-Members Bot 
год назад
readme.md

Telegram Web Get-Group-Members Bot

Automate the process of retrieving member information from a Telegram group using this Python script. The script utilizes the Selenium library to interact with Telegram Web and extract member details.

Installation

  1. Ensure you have Python installed on your system.

  2. Clone this repository or download the provided code:

    git clone [https://github.com/avinashkranjan/Amazing-Python-Scripts]
  3. Navigate to the project directory:

    cd Telegram Get-Group-Members Bot/telegram.py
  4. Install the required dependencies:

    pip install -r requirements.txt
  5. Download the ChromeDriver suitable for your Chrome version and place it in the project directory.

Usage

  1. Make sure you have a compatible version of Chrome installed on your system.

  2. Run the script:

    python telegram.py
  3. A Chrome browser window will open, displaying Telegram Web.

  4. Scan the QR code using your phone to log in to Telegram Web.

  5. After successful login, the script will wait for 10 seconds to load the page.

  6. Enter the name of the group you want to retrieve member information for when prompted.

  7. The script will print the member names and images on the terminal.

Notes

  • This script uses the Chrome WebDriver for Selenium automation. Ensure that the chromedriver executable matches your Chrome browser version and is located in the project directory.
  • The script waits for 10 seconds to ensure proper loading of the Telegram Web page before interaction. You can modify this delay if necessary.

Contributor

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.