From dae9cf8ee8a86fbfc3582335aea0c16f6a553cc3 Mon Sep 17 00:00:00 2001 From: Dmitry Mottl Date: Thu, 25 Oct 2018 13:31:18 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d214306..b87aa017 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ GetOldTweets3 --username "barackobama" --maxtweets 10 --toptweets ``` ## Python classes -- **Tweet:** Model class to give some informations about a specific tweet. +- **Tweet:** Model class that describes a specific tweet. - id (str) - permalink (str) - username (str) From db10103fb0987b3b754be652f9c5bb5a8703bcda Mon Sep 17 00:00:00 2001 From: Dmitry Mottl Date: Thu, 25 Oct 2018 13:49:52 +0200 Subject: [PATCH 2/2] Update TweetManager.py --- GetOldTweets3/manager/TweetManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GetOldTweets3/manager/TweetManager.py b/GetOldTweets3/manager/TweetManager.py index 6f8eb452..bd78edd0 100644 --- a/GetOldTweets3/manager/TweetManager.py +++ b/GetOldTweets3/manager/TweetManager.py @@ -171,7 +171,7 @@ def getJsonReponse(tweetCriteria, refreshCursor, cookieJar, proxy): response = opener.open(url) jsonResponse = response.read() except: - print("Twitter weird response. Try to see on browser: https://twitter.com/search?q=%s&src=typd" % urllib.parse.quote(urlGetData)) + print("Twitter weird response. Try to open in browser: https://twitter.com/search?q=%s&src=typd" % urllib.parse.quote(urlGetData)) print("Unexpected error:", sys.exc_info()[0]) sys.exit() return