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

Err: <class 'UnicodeDecodeError'>: 'utf-8' codec can't decode byte 0xb8 in position 1: invalid start byte #185

Open Franx159 opened 1 month ago

Franx159 commented 1 month ago

It gave me this error and told me to write an issue here to be able to fix it. I don't know ehy this happens but it immediately blocks all the accounts and makes scraping impossible. I tried to unlock the accounts as suggested with twscrape reset_locks but they were soon blocked again for the same reason. In general the accounts get blocked more and more easily and I don't know why. Can someone help?

nosnatef commented 3 weeks ago

You need to update your twscrape version in your pip.

nosnatef commented 3 weeks ago

If your twscape version is not 0.12 (Current version when I write this), chances are you are using the old one