mahrtayyab / tweety

Twitter Scraper
494 stars 67 forks source link

Denied login #201

Open guntherjugend opened 3 months ago

guntherjugend commented 3 months ago

Hello, have issue: [2024-07-31 03:34:26] [ERROR] [Twitter] [DeniedLogin] Suspicious login prevented. We blocked an attempt to access your account because we weren't sure it was really you.

This happens when we notice unusual login activity, like an attempt to log in too many times, or from a different location or device.

You'll need to wait before trying to log in again. Some blocks are removed automatically.

Get help with login issues.

How to avoid this? Old sessions files already added but it still the same.

mahrtayyab commented 3 months ago
guntherjugend commented 3 months ago

Yes and yes. Thank u for reply, but I already fix this. Just renew manually session file with cookies from browser.

isntfunny commented 3 months ago

Same here, the loging seems to be impossible all of the sudden:

tweety.exceptions.DeniedLogin: Suspicious login prevented. We blocked an attempt to access your account because we weren't sure it was really you.

This happens when we notice unusual login activity, like an attempt to log in too many times, or from a different location or device.

You'll need to wait before trying to log in again. Some blocks are removed automatically.

Get help with login issues.

I am using latest version and no proxy, hosted from my home network.

My requirements.txt:

-e git+https://github.com/mahrtayyab/tweety.git#egg=nweety-ns
python-dotenv~=1.0.0
httpx[http2]
mahrtayyab commented 3 months ago

Working on fix , will be pushed in a day

YmanChris commented 3 months ago

Working on fix , will be pushed in a day

Hello, I get same error. Has it updated? Tkx.

americaanspirit commented 3 months ago

Same error any update?

mahrtayyab commented 3 months ago

It works when using a rotating proxy , suggesting might be a IP bans from Twitter , need further investigation.

YmanChris commented 3 months ago

Yes and yes. Thank u for reply, but I already fix this. Just renew manually session file with cookies from browser.

User your methods, Successed! 🙏

changchiyou commented 3 months ago

Any updates? I've been encountering the same error with account/password login for several days now:

image
Opennes99 commented 2 months ago

Yeah i have similar issue as well and get this error
" ActionRequired: Check your email. In order to protect your account from suspicious activity, we've sent a confirmation code to *****@**.*. Enter it below to sign in."

but I never receive any code on the email , do we need to rotate accounts as well as proxies ?

simrankapoorr commented 1 month ago

I am using a VPN while logging in and still getting this issue, even if I create new accounts. Also tried manually uploading cookies. How to fix?

mahrtayyab commented 1 day ago

https://github.com/mahrtayyab/tweety/commit/650981ce9605e6e06f2c5c1fe2db5c01a5270d2e