From 9ce72eb70607268fba1763310f81d3e50cd986b5 Mon Sep 17 00:00:00 2001 From: Bezleputh Date: Sat, 31 May 2014 17:46:19 +0200 Subject: [PATCH] [twitter] use full instead of top search/hashtag --- modules/twitter/browser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/twitter/browser.py b/modules/twitter/browser.py index a4d8eb13..6a5f9992 100644 --- a/modules/twitter/browser.py +++ b/modules/twitter/browser.py @@ -33,8 +33,8 @@ class TwitterBrowser(LoginBrowser): login_error = URL(u'login/error.+', LoginErrorPage) tweet = URL(u'i/tweet/create', Tweet) trends = URL(u'trends', TrendsPage) - hashtag = URL(u'hashtag/(?P.+)', TwitterBasePage) - search = URL(u'search\?q="(?P.+)"', TwitterBasePage) + hashtag = URL(u'hashtag/(?P.+)\?f=realtime', TwitterBasePage) + search = URL(u'search\?q="(?P.+)&f=realtime&src=typd"', TwitterBasePage) profil = URL(u'i/profiles/show/(?P.+)/timeline', HomeTimelinePage) timeline = URL(u'i/timeline', TimelinePage) login = URL(u'', LoginPage)