You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
4
+
5
+
## Installation
6
+
7
+
1. Ensure you have Python installed on your system.
8
+
2. Clone this repository or download the provided code:
5. Download the [ChromeDriver](https://chromedriver.chromium.org/downloads) suitable foryour Chrome version and place itin the project directory.
25
+
26
+
## Usage
27
+
28
+
1. Make sure you have a compatible version of Chrome installed on your system.
29
+
2. Run the script:
30
+
31
+
```bash
32
+
python telegram.py
33
+
```
34
+
3. A Chrome browser window will open, displaying Telegram Web.
35
+
4. Scan the QR code using your phone to log in to Telegram Web.
36
+
5. After successful login, the script will waitfor 10 seconds to load the page.
37
+
6. Enter the name of the group you want to retrieve member information for when prompted.
38
+
7. The script will print the member names and images on the terminal.
39
+
40
+
## Notes
41
+
42
+
- This script uses the Chrome WebDriver forSelenium automation. Ensure that the `chromedriver` executable matches your Chrome browser version and is locatedin the project directory.
43
+
- The script waits for 10 seconds to ensure proper loading of the Telegram Web page before interaction. You can modify this delay if necessary.
0 commit comments