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

querysearch not working #30

Closed
rsingh2083 opened this issue Sep 10, 2016 · 1 comment
Closed

querysearch not working #30

rsingh2083 opened this issue Sep 10, 2016 · 1 comment

Comments

@rsingh2083
Copy link

Im running this code
python Exporter.py --querysearch 'europe refugees' --maxtweets 10

and got this error

Done. Output file generated "output_got.csv".
Traceback (most recent call last):
  File "Exporter.py", line 79, in <module>
    main(sys.argv[1:])
  File "Exporter.py", line 70, in main
    got.manager.TweetManager.getTweets(tweetCriteria, receiveBuffer)
  File "C:\Users\RAHUL_MSI\Anaconda2\lib\site-packages\got\manager\TweetManager.py", line 18, in getTweets
    if (tweetCriteria.username.startswith("\'") or tweetCriteria.username.startswith("\"")) and (tweetCriteria.username.
endswith("\'") or tweetCriteria.username.endswith("\"")):
AttributeError: TweetCriteria instance has no attribute 'username'
@Jefferson-Henrique
Copy link
Owner

Hello @rsingh2083 can you update the code and try again? By the way I have changed the examples to use double quotes like

python Exporter.py --querysearch "europe refugees"  --maxtweets 10

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

2 participants