Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #93 from leandroferreira/master

corrected issue when searches with "q" gets encoded twice
  • Loading branch information...
commit 9d57f34fce7de10a959d0330395edb60e0377d1c 2 parents 68534e8 + 92f9c94
Ryan McGrath ryanmcgrath authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  twython/twython.py
2  twython/twython.py
View
@@ -428,7 +428,7 @@ def search(self, **kwargs):
e.g x.search(q='jjndf', page='2')
"""
if 'q' in kwargs:
- kwargs['q'] = urllib.quote_plus(Twython.unicode2utf8(kwargs['q']))
+ kwargs['q'] = urllib.quote_plus(Twython.unicode2utf8(kwargs['q'], ':'))
return self.get('https://search.twitter.com/search.json', params=kwargs)
Please sign in to comment.
Something went wrong with that request. Please try again.