download-tweets-ai-text-gen icon indicating copy to clipboard operation
download-tweets-ai-text-gen copied to clipboard

Output csv file just contains the word "tweets," no data

Open RalphORama opened this issue 4 years ago • 4 comments

I'm confident I set up the project correctly (virtualenv with python 3.6.9, ran pip3 install -r requirements.txt).

When I run the script, I see the following in my terminal for about 10 seconds:

$ python3 download_tweets.py bikinibabelover
Retrieving tweets for @bikinibabelover...
Oldest Tweet:   0%|                                                                             | 0/5776 [00:14<?, ?it/s]

Then the process ends with no error message, and I'm left with the file bikinibabelover_tweets.csv.

$ cat bikinibabelover_tweets.csv
tweets

$ 

Any help with this issue would be appreciated

RalphORama avatar Apr 08 '20 02:04 RalphORama

Upon closer inspection (enabling logging, etc.), this may be an issue to do with the way twitter handles accounts with "explicit content." Running a search from:bikinibabelover returns "No Results" even though they have quite a few tweets on their timeline if you visit https://twitter.com/bikinibabelover

RalphORama avatar Apr 08 '20 02:04 RalphORama

If the output file is effectively empty, that means it scraped 0 tweets. Dunno how Search handles explicit content.

minimaxir avatar Apr 19 '20 16:04 minimaxir

I am having the same result, a csv file with only "tweets". The account I'm scraping from is not explicit.. It has 109160 tweets, is that too much to scrape from perhaps?

ajtran303 avatar Apr 21 '20 23:04 ajtran303

Seems like it was an issue with Twitter search itself, the tool is working for me now

RalphORama avatar May 20 '20 00:05 RalphORama