From 74efb1b8860ae038d124c27119e6c5d47b8e22b8 Mon Sep 17 00:00:00 2001 From: aleperno Date: Sat, 17 Nov 2012 04:14:42 -0200 Subject: [PATCH] Update twython/twython.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- twython/twython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twython/twython.py b/twython/twython.py index ab89a94..fa44901 100644 --- a/twython/twython.py +++ b/twython/twython.py @@ -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.