- Clone this repository
- Installs all dependencies specified in the requirements.txt file
- Set your api_id and api_hash (only to login with sessions files) in env vars
- put your sessions file in 'sessions' folder
- Set your proxy in PROXY var (optional)
- Execute app.py file.
Your credentials will be written to the apis.csv file and the apis folder.
git clone https://github.com/luigirovani/GenTelegramAPi
cd GenTelegramAPi
pip install -r requirements.txt
set API_ID=12345
set API_HASH=0123456789abcdef0123456789abcdef
python app.py
- If you wish to use proxies, configure them in the format required by httpx. Remember to use proxies from the same country as the accounts for which you want to create credentials. Example:
PROXY = {
"http://": "http://localhost:8080",
"https://": "http://localhost:8080"
}
Read httpx documentation for more information about proxies.
- Use this script at your own risk and responsibility.