handle useless pages to prevent being redirected to mobile version

This commit is contained in:
Romain Bignon 2014-12-04 08:50:50 +01:00
commit 8972743bd7

View file

@ -38,6 +38,8 @@ class Cragr(Browser):
PAGES = {'https?://[^/]+/': HomePage,
'https?://[^/]+/stb/entreeBam': LoginPage,
'https?://[^/]+/stb/entreeBam\?.*typeAuthentification=CLIC_ALLER.*': LoginPage,
'https?://[^/]+/stb/entreeBam\?.*pagePremVisite.*': UselessPage,
'https?://[^/]+/stb/entreeBam\?.*Interstitielle.*': UselessPage,
'https?://[^/]+/stb/entreeBam\?.*act=Synthcomptes': AccountsPage,
'https?://[^/]+/stb/entreeBam\?.*act=Synthepargnes': SavingsPage,
'https?://[^/]+/stb/.*act=Releves.*': TransactionsPage,