factorize wget user agent

This commit is contained in:
Christophe Benz 2010-11-16 12:16:14 +01:00
commit afae06efc1
3 changed files with 3 additions and 2 deletions

View file

@ -29,7 +29,7 @@ class LCLBrowser(BaseBrowser):
PROTOCOL = 'https'
DOMAIN = 'particuliers.secure.lcl.fr'
ENCODING = 'utf-8'
USER_AGENT = 'Wget/1.11.4'
USER_AGENT = BaseBrowser.USER_AGENTS['wget']
PAGES = {'https://particuliers.secure.lcl.fr/index.html': LoginPage,
'https://particuliers.secure.lcl.fr/everest/UWBI/UWBIAccueil\?DEST=IDENTIFICATION': LoginErrorPage,
'https://particuliers.secure.lcl.fr/outil/UWSP/Synthese/accesSynthese': AccountsPage