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

Hashtags #260

Open
NICK7Z opened this issue Mar 2, 2020 · 2 comments
Open

Hashtags #260

NICK7Z opened this issue Mar 2, 2020 · 2 comments

Comments

@NICK7Z
Copy link

NICK7Z commented Mar 2, 2020

I was trying to get certain hashtags, the others in the example all worked, and I use this format in terminal
python Exporter.py --hashtags "#everyday" --maxtweets 10

It returns me this error:
Traceback (most recent call last):
File "Exporter.py", line 79, in
main(sys.argv[1:])
File "Exporter.py", line 75, in main
outputFile.close()
UnboundLocalError: local variable 'outputFile' referenced before assignment

How can I solve this?

Thanks

@JhonJDiazG
Copy link

Make sure that there is no other CSV file called "output_got.csv" in the folder where is Exporter.py. Pardon for my english.

@SurajMeena
Copy link

I think you should use --querysearch instead of --hashtags, it will work for sure

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

3 participants