vladkens / twscrape

2024! X / Twitter API scrapper with authorization support. Allows you to scrape search results, User's profiles (followers/following), Tweets (favoriters/retweeters) and more.
https://pypi.org/project/twscrape/
MIT License
1.13k stars 132 forks source link

Cannot log in accounts with "DenyLoginSubtask" #213

Open caterpillar1219 opened 3 months ago

caterpillar1219 commented 3 months ago

Recently I can hardly log in accounts with the login flow. Looking into the subtask, I always enter "DenyLoginSubtask" after"LoginEnterUserIdentifierSSO". This happens even with my individual aged Twitter accounts. Anyone facing similar issues?

frameartist commented 3 months ago

I gettingct0 not in cookies (most likely ip ban) 90% of time. Maybe it's related.

jemather commented 3 months ago

Same, despite passing a valid ct0 cookie. I got about 15% of accounts to log in.

anussbau commented 3 months ago

Is there a reason why suddenly it's showing this error ct0 not in cookies ?

frameartist commented 3 months ago

@anussbau @jemather @caterpillar1219 see #214 , i posted there about how to solve the ct0 problem

0xfocu5 commented 2 months ago

I got same, DenyLoginSubtask, and added "X-Client-Transaction-Id": to header but not worked