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

Can it support login via auth_token only without cookies? #152

Closed caterpillar1219 closed 7 months ago

caterpillar1219 commented 8 months ago

ref: https://github.com/HeavyHell/pytwex/tree/main/pytwex

vladkens commented 7 months ago

@caterpillar1219

auth_token this is just one value of cookies.

https://github.com/HeavyHell/pytwex/blob/c3e5ccae9f3124a8a2c0d333b2cb6bd6fb2dad16/pytwex/client.py#L48

So just use cookies