You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a simple script that downloads a user's photo. It worked the first time I ran it, but when I tried to run it again, I was logged out of Telegram, and when I tried to log in again, Telegram said my number was banned.
Expected behavior
Not being banned.
Actual behavior
Got banned.
Traceback
No response
Telethon version
1.33.0
Python version
3.10.12
Operating system (including distribution name and version)
macOS 14.1.1
Other details
No response
Checklist
The error is in the library's code, and not in my own.
I have searched for this issue before posting it and there isn't an open duplicate.
I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.
The text was updated successfully, but these errors were encountered:
Code that causes the issue
I wrote a simple script that downloads a user's photo. It worked the first time I ran it, but when I tried to run it again, I was logged out of Telegram, and when I tried to log in again, Telegram said my number was banned.
Expected behavior
Not being banned.
Actual behavior
Got banned.
Traceback
No response
Telethon version
1.33.0
Python version
3.10.12
Operating system (including distribution name and version)
macOS 14.1.1
Other details
No response
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
and triggered the bug in the latest version.The text was updated successfully, but these errors were encountered: