Skip to content

Commit bc4a983

Browse files
authored
Create readme.md
1 parent 2abb4b2 commit bc4a983

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Telegram Web Get-Group-Members Bot
2+
3+
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:
9+
10+
```bash
11+
git clone [https://github.com/avinashkranjan/Amazing-Python-Scripts]
12+
```
13+
14+
3. Navigate to the project directory:
15+
16+
```bash
17+
cd Telegram Get-Group-Members Bot/telegram.py
18+
```
19+
4. Install the required dependencies:
20+
21+
```bash
22+
pip install -r requirements.txt
23+
```
24+
5. Download the [ChromeDriver](https://chromedriver.chromium.org/downloads) suitable for your Chrome version and place it in 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 wait for 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 for Selenium automation. Ensure that the `chromedriver` executable matches your Chrome browser version and is located in 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.
44+
45+
## Contributor
46+
47+
- [Juhi Bhojani](https://github.com/Juhibhojani)
48+

0 commit comments

Comments
 (0)