Jefferson-Henrique / GetOldTweets-python

A project written in Python to get old tweets, it bypass some limitations of Twitter Official API.
MIT License
1.35k stars 809 forks source link

Not getting tweets anymore #234

Open carlafdzzz opened 5 years ago

carlafdzzz commented 5 years ago

It has been working for a week but now it stoped working. When using the command line:

alu-248-239:GetOldTweets-python-master carla$ python Exporter.py --querysearch "mysearch" --maxtweets 500 Searching...

More 100 saved on file...

More 100 saved on file...

More 93 saved on file...

Done. Output file generated "output_got.csv".

I've been reading other issues about changing the IP (which I did and still not working), others said if you still had access to twitter through your browser it wasn't a matter of being blacklisted by them. Others said it could be fixed by changing the headers in TweetManager.py which didn't work for me either.

Any tips here?

contesti commented 5 years ago

Same story. I think I have abused of the scrapper and is no longer working.

abushoeb commented 5 years ago

I had a similar issue and here are my tips based on my experience which actually worked out well for me:

  1. Stop it for a while and rerun the script.
  2. If this still fails then run the script from a different machine
  3. Still, no luck then wait for 2/3 days and run it again.
  4. Finally, if you have a dedicated machine then try to reinstall the os and run it again.

For me, tip 2 and 4 were most helpful.

yashi-thakur commented 5 years ago

Even I am facing similar issue in windows OS. I am using anaconda and VS code to get the output. But I m getting empty csv.

akeryll commented 5 years ago

Same issue, none of the steps below worked :(, running on ubuntu 16, stopped working on ubuntu 18 and downgraded.

I had a similar issue and here are my tips based on my experience which actually worked out well for me:

  1. Stop it for a while and rerun the script.
  2. If this still fails then run the script from a different machine
  3. Still, no luck then wait for 2/3 days and run it again.
  4. Finally, if you have a dedicated machine then try to reinstall the os and run it again.

For me, tip 2 and 4 were most helpful.

abushoeb commented 5 years ago

Same issue, none of the steps below worked :(, running on ubuntu 16, stopped working on ubuntu 18 and downgraded.

I had a similar issue and here are my tips based on my experience which actually worked out well for me:

  1. Stop it for a while and rerun the script.
  2. If this still fails then run the script from a different machine
  3. Still, no luck then wait for 2/3 days and run it again.
  4. Finally, if you have a dedicated machine then try to reinstall the os and run it again.

For me, tip 2 and 4 were most helpful.

Make sure your query returns some results. If the result is empty then the CSV file should be empty as well. You can run your query on the browser first just to make sure it's a valid query.

marquisvictor commented 5 years ago

I think the best thing to do is not to use the windows OS