taspinar / twitterscraper

Scrape Twitter for Tweets
MIT License
2.39k stars 581 forks source link

Fixing query.py #304

Closed AttalaKheireddine closed 4 years ago

AttalaKheireddine commented 4 years ago

There was a bug in query.py https://github.com/taspinar/twitterscraper/issues/296 that cause query_tweets() to fetch 0 tweets. The solution was in one of the answers in the threads (change of HEADERS value in query.py). I though someone should apply this to the actual repo as this package is actually amazing and such a minor problem takes away its usefulness

lapp0 commented 4 years ago

Thanks, this appears to work!

Frickson commented 4 years ago

cmd>twitterscraper jack -l 50 --user -o jack.json still return me this errors, why... need help please INFO: Retrying... (Attempts left: 50) INFO: Scraping tweets from https://twitter.com/Jack INFO: Using proxy 119.82.252.25:56874 INFO: Retrying... (Attempts left: 49)

Frickson commented 4 years ago

I've already replace the Header in query.py.

lapp0 commented 4 years ago

@Frickson please post in this thread

https://github.com/taspinar/twitterscraper/issues/296

Would be good to get your twitterscraper version, python version, full traceback.