handle sent page

This commit is contained in:
Romain Bignon 2014-05-17 18:25:12 +02:00
commit 1ca3c09479
2 changed files with 7 additions and 2 deletions

View file

@ -22,7 +22,7 @@ import urllib
from weboob.tools.browser import BaseBrowser, BasePage
from weboob.tools.ordereddict import OrderedDict
from .pages import LoginPage, ThreadPage, MessagesPage, PostMessagePage, ProfilePage, PhotosPage, VisitsPage, QuickMatchPage
from .pages import LoginPage, ThreadPage, MessagesPage, PostMessagePage, ProfilePage, PhotosPage, VisitsPage, QuickMatchPage, SentPage
__all__ = ['OkCBrowser']
@ -52,7 +52,8 @@ class OkCBrowser(BaseBrowser):
('http://%s/profile/.*/photos' % DOMAIN, PhotosPage),
('http://%s/profile/[^/]*' % DOMAIN, ProfilePage),
('http://%s/visitors' % DOMAIN, VisitsPage),
('http://%s/quickmatch' % DOMAIN, QuickMatchPage)
('http://%s/quickmatch' % DOMAIN, QuickMatchPage),
('http://%s/mailbox' % DOMAIN, SentPage),
))
logged_in = False