Reputation: 147
I have found many examples of the tweepy cursor where a parameter is "since = "YYYY-MM-DD"". However, in my code below, it is returning tweets much older than the date I specify. Why?
since = "2017-9-20"
tweepy.Cursor(api.search,
q="nba -filter:retweets",
since = since,
rpp=100,
result_type="recent",
include_entities=True,
lang="en",
).items(10)
tweet.text
An example of a tweet it returns is:
created_at=datetime.datetime(2011, 9, 19, 18, 12, 50) id=376333795
Upvotes: 0
Views: 422
Reputation: 31
I think you are looking at a different created_at
than the tweet's. Perhaps the user's created_at
?
Cuz your code seems correct.
Upvotes: 1