twitter-monitor icon indicating copy to clipboard operation
twitter-monitor copied to clipboard

Implement Locations

Open gonzigaran opened this issue 4 years ago • 1 comments

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

gonzigaran avatar Apr 17 '20 22:04 gonzigaran

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.

michaelbrooks avatar Apr 19 '20 18:04 michaelbrooks