Jefferson-Henrique / Jefferson-Henrique/GetOldTweets-python

AttributeError with 'setNear'

Open
#159 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.3k
Forks
790
PR merge metrics
No merged PRs in 30d

Description

Hi everyone,

I am currently trying to use the tweet location in order to only retrieve tweets from Germany. Nevertheless, I keep having this error :
**AttributeError: 'TweetCriteria' object has no attribute 'setNear'**

Here is the line of code in 'Main' that is causing the issue.
tweetCriteria = got.manager.TweetCriteria().setQuerySearch('flüchtelinge').**setNear('Deutschland')**.setSince("2015-09-01").setUntil('2015-10-05').setMaxTweets(10)

I am a bit lost here, thank you all for helping out if possible!

All the best,

Marion

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.