AbirHasan2005 / TelegramScraper

Using this tool you can easily add so many members from any group to your group. Less than 2 minutes. Super easy. Time saver. But this tool is only for educational purpose. You could be banned from Telegram. So be careful. Recommanded to use this tool only on Termux.
545 stars 271 forks source link

Two-steps verification is enabled and a password is required (caused by SignInRequest) #7

Open uruk-hai-21 opened 3 years ago

uruk-hai-21 commented 3 years ago

What should I do in this case?

AbirHasan2005 commented 3 years ago

Remove 2FA from your Telegram Account during the process.

laminda commented 1 year ago

I found a solution for 2FA , could you add it to the code. I didn't succeed, I don't have enough knowledge ((

`client.start().

phone = input("Enter phone: ") await client.send_code_request(phone, force_sms=False) value = input("Enter login code: ") try: me = await client.sign_in(phone, code=value) except telethon.errors.SessionPasswordNeededError: password = input("Enter password: ") me = await client.sign_in(password=password)`