Start a "base" recipe
This probably needs to have a "pages" templates too.
This commit is contained in:
parent
1162aa2fd7
commit
32d7b53e63
3 changed files with 36 additions and 3 deletions
13
tools/boilerplate_data/base_browser.py
Normal file
13
tools/boilerplate_data/base_browser.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<%inherit file="layout.py"/>
|
||||
from weboob.tools.browser import BaseBrowser
|
||||
|
||||
|
||||
__all__ = ['${r.classname}Browser']
|
||||
|
||||
|
||||
class ${r.classname}Browser(BaseBrowser):
|
||||
PROTOCOL = 'http'
|
||||
DOMAIN = 'www.${r.name}.com'
|
||||
ENCODING = None
|
||||
|
||||
PAGES = {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue