From 5771baa13aebd06861c045389945160067623dad Mon Sep 17 00:00:00 2001 From: Tom Meagher Date: Fri, 11 May 2018 09:46:09 -0400 Subject: [PATCH] fixes bug introduced in 71192d5. Closes #51 --- ebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebooks.py b/ebooks.py index badae76..d43eff1 100644 --- a/ebooks.py +++ b/ebooks.py @@ -103,7 +103,7 @@ def grab_tweets(api, max_id=None): source_tweets = [] user_tweets = api.GetUserTimeline(screen_name=user, count=200, max_id=max_id, include_rts=True, trim_user=True, exclude_replies=True) if user_tweets: - max_id = user_tweets[-1].id - + max_id = user_tweets[-1].id - 1 for tweet in user_tweets: if tweet.full_text: tweet.text = filter_status(tweet.full_text)