forked from dpapathanasiou/recipebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
32 lines (25 loc) · 814 Bytes
/
settings.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
#!/usr/bin/env python
"""
This file defines the configuration settings for this project;
change them according to your environment, or use a local_settings.py
file which is excluded from source control.
"""
ENCODING = 'utf-8'
UA = "recipebook/1.7 +http://github.com/dpapathanasiou/recipebook"
PAUSE_CRAWLER = True
PAUSE_TIME_RANGE = (10, 60)
# Define where the scraped and parsed results will be saved
OUTPUT_FOLDER = '/tmp'
# Define credentials for using a service running ARMS (http://github.com/dpapathanasiou/ARMS)
ARMS = {
'SERVER': None,
'API-KEY': None,
'API-SEED': None
}
# Override any of the above settings for your local environment in a
# separate local_settings.py file which is *not* checked into source
# control
try:
from local_settings import *
except ImportError:
pass