bellingcat / telegram-phone-number-checker

Check if phone numbers are connected to Telegram accounts.
https://pypi.org/project/telegram-phone-number-checker/
MIT License
1.02k stars 172 forks source link

how to save my id and hash and number to avoid from typing it again ? #27

Closed ruchid123123 closed 1 month ago

ruchid123123 commented 1 month ago

how to save my id and hash and number to avoid from typing it again ?

after used it , i have to re imput my id、hash、number , could you please help me to deal with it ?

qzinori commented 1 month ago

save as .env

GalenReich commented 1 month ago

You can add the info to a .env file in the location that you are running the tool. See this video for step-by-step instructions:

https://www.youtube.com/watch?v=TLJgnlilEBs&list=PLq6cQ--4f90icDJUwiGcPrFFLLguuZ0ht&t=262s

Your .env file should look something like:

API_ID=123456789
API_HASH=87fghe9gfe87gfwe8fgyfgf80h
PHONE_NUMBER=+3123456789
ruchid123123 commented 1 month ago

您可以将信息添加到.env运行该工具的位置的文件中。请观看此视频以获取分步说明:

https://www.youtube.com/watch?v=TLJgnlilEBs&list=PLq6cQ--4f90icDJUwiGcPrFFLLguuZ0ht&t=262s

您的.env文件应该类似于:

API_ID=123456789
API_HASH=87fghe9gfe87gfwe8fgyfgf80h
PHONE_NUMBER=+3123456789

thanks a lot for your advice , i seccessed finally!