forked from yoannsculo/JobCatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
42 lines (38 loc) · 1.25 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__authors__ = [
'Bruno Adelé <[email protected]>',
'Yankel Scialom <[email protected]>'
]
__license__ = 'GPLv2'
__version__ = '0.1'
# TODO
# https://ec.europa.eu/eures/eures-searchengine/servlet/BrowseCountryJVsServlet?lg=FR&isco=%25&multipleCountries=FR-R281&date=01%2F01%2F1975&title=&durex=&exp=&serviceUri=browse&qual=&pageSize=5&page=1&country=FR&totalCount=781&multipleRegions=R281
# http://www.jobijoba.com
# http://candidat.pole-emploi.fr/candidat/rechercheoffres/resultatsrechercheparparametres?lieux=34D,91R&grandDomaine=K&offresPartenaires=true
configs = {
'debug': True,
'rootdir': './www/dl',
'wwwdir': './www',
'database': 'jobs.db',
'refreshfeeds': 3600, # In seconds
'refreshpages': 21600, # In seconds
'p2pdir': './p2p',
'p2pservers': {
'yankel': 'http://yankee.sierra77.free.fr/jobcatcher',
'jesuislibre': 'http://jobs.jesuislibre.org',
'sculo': 'http://jobcatcher.sculo.fr',
},
'report': {
# dynamic: True/False
'dynamic': True,
# offer_per_page: int
'offer_per_page': 15,
},
}
configstest = {
'debug': True,
'rootdir': '/tmp/dl',
'wwwdir': '/tmp/www',
'database': '/tmp/jobs.db',
}