Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only gets year "2019" tweets, #230

Open
yigiterbas opened this issue Jan 9, 2019 · 6 comments
Open

Only gets year "2019" tweets, #230

yigiterbas opened this issue Jan 9, 2019 · 6 comments

Comments

@yigiterbas
Copy link

Hi,

Few days ago code worked perfectly but on the last few days I only get 2019 tweets. Can you help?

@maor63
Copy link

maor63 commented Jan 9, 2019

try to change the 'user-agent' field in the TweetManager.py
i changed to "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
and it fixed it

@yigiterbas
Copy link
Author

Fixed it thank you very much :=)

@yigiterbas
Copy link
Author

Although I did what you said, today I couldn't get the past data (2018,2017) Do you have any fixes?

@maor63
Copy link

maor63 commented Jan 11, 2019

I have noticed that every 2 weeks i need to change the user agent for some unknown reason.
I also add this line of code to the min_position update:
min_position = min_position.replace("+","%2B")

@shahmohamadi
Copy link

@yigiterbas I did these changes but still only get 2019 results

@imrrahul
Copy link

imrrahul commented Jan 27, 2019

@shahmohamadi @yigiterbas Use the command given in the readme file you will get the results of 2019,2018,2017,....if tweets were available for the following years. As I , myself, have used the command -
python3 Exporter.py --querysearch "aadhar card" --maxtweets 25000

check out this screenshot I got the result 3 days ago -
screenshot from 2019-01-27 15-39-52

Hope this helps!
PS - I have not given specific dates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants