Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while running Scraper.py Even after typing correct code #1

Open
VishalSharma9 opened this issue Nov 29, 2021 · 0 comments
Open

Comments

@VishalSharma9
Copy link

I keep getting error even though i am typing correct code.

Traceback (most recent call last):
File "C:\Users\xxx\Desktop\TG-Scraper-main\scraper.py", line 42, in
client.sign_in(phone, input(gr+'[+] Enter the code: '+re))
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\auth.py", line 368, in sign_in
result = await self(request)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\users.py", line 79, in _call
result = await future
telethon.errors.rpcerrorlist.SessionPasswordNeededError: Two-steps verification is enabled and a password is required (caused by SignInRequest)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant