Improved twitter search on website.
This commit is contained in:
parent
57e7db8b37
commit
33bb6dec37
2 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ class SearchQuery(object):
|
|||
return False
|
||||
rv = json.load(urllib2.urlopen(self.get_url()))
|
||||
return [SearchResult(x) for x in rv['results'] if
|
||||
_accept(x['text'])]
|
||||
_accept(x['from_user'] + u': ' + x['text'])]
|
||||
|
||||
@property
|
||||
def up_to_date(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue