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

Implement Locations #9

Open
gonzigaran opened this issue Apr 17, 2020 · 1 comment
Open

Implement Locations #9

gonzigaran opened this issue Apr 17, 2020 · 1 comment

Comments

@gonzigaran
Copy link
Contributor

is there a way to implement to be able to add locations as the terms are added?

@michaelbrooks
Copy link
Owner

I believe it should be possible as long as tweepy has support for it. The existing module does not include location filtering, but I imagine it could be implemented in a way similar to filtering on terms. The core change would be in https://github.com/michaelbrooks/twitter-monitor/blob/master/twitter_monitor/stream.py#L100 , with some secondary changes to actually get the location information from a file or wherever.

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