vladkens / twscrape

2024! 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
784 stars 102 forks source link

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

Closed caterpillar1219 closed 2 months ago

caterpillar1219 commented 3 months ago

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

vladkens commented 2 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