Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Get Old Tweets Programatically
# Get Old Tweets Programmatically
A project written in Python to get old tweets, it bypass some limitations of Twitter Official API.

## Details
Expand Down
4 changes: 2 additions & 2 deletions got/manager/TweetManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def getTweets(tweetCriteria, receiveBuffer=None, bufferLength=100, proxy=None):
active = True

while active:
json = TweetManager.getJsonReponse(tweetCriteria, refreshCursor, cookieJar, proxy)
json = TweetManager.getJsonResponse(tweetCriteria, refreshCursor, cookieJar, proxy)
if len(json['items_html'].strip()) == 0:
break

Expand Down Expand Up @@ -80,7 +80,7 @@ def getTweets(tweetCriteria, receiveBuffer=None, bufferLength=100, proxy=None):
return results

@staticmethod
def getJsonReponse(tweetCriteria, refreshCursor, cookieJar, proxy):
def getJsonResponse(tweetCriteria, refreshCursor, cookieJar, proxy):
url = "https://twitter.com/i/search/timeline?f=tweets&q=%s&src=typd&max_position=%s"

urlGetData = ''
Expand Down
4 changes: 2 additions & 2 deletions got3/manager/TweetManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getTweets(tweetCriteria, receiveBuffer=None, bufferLength=100, proxy=None):
active = True

while active:
json = TweetManager.getJsonReponse(tweetCriteria, refreshCursor, cookieJar, proxy)
json = TweetManager.getJsonResponse(tweetCriteria, refreshCursor, cookieJar, proxy)
if len(json['items_html'].strip()) == 0:
break

Expand Down Expand Up @@ -87,7 +87,7 @@ def getTweets(tweetCriteria, receiveBuffer=None, bufferLength=100, proxy=None):
return results

@staticmethod
def getJsonReponse(tweetCriteria, refreshCursor, cookieJar, proxy):
def getJsonResponse(tweetCriteria, refreshCursor, cookieJar, proxy):
url = "https://twitter.com/i/search/timeline?f=tweets&q=%s&src=typd&%smax_position=%s"

urlGetData = ''
Expand Down