Update twython/twython.py
Fixes the 'Bad Request: The request was invalid. An accompanying error message will explain why. This is the status code will be returned during rate limiting. -- An error occurred processing your request.' error
This commit is contained in:
parent
a125ad6048
commit
74efb1b886
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ class Twython(object):
|
|||
e.g x.search(q='jjndf', page='2')
|
||||
"""
|
||||
|
||||
return self.get('https://api.twitter.com/1.1/search/tweets.json', params=kwargs)
|
||||
return self.get('https://search.twitter.com/search.json', params=kwargs)
|
||||
|
||||
def searchGen(self, search_query, **kwargs):
|
||||
""" Returns a generator of tweets that match a specified query.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue