-
Notifications
You must be signed in to change notification settings - Fork 178
/
prod_example.cfg
66 lines (55 loc) · 1.54 KB
/
prod_example.cfg
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[url]
url.base=https://www.packtpub.com
url.login=/packt/offers/free-learning
# params: 0=id, 1=format
url.download=/ebook_download/{0}/{1}
url.bookFromNewsletter=https://goo.gl/kUciut
#time in seconds
[delay]
delay.requests=2
[credential]
credential.email=PACKTPUB_EMAIL
credential.password=PACKTPUB_PASSWORD
[path]
path.ebooks=ebooks
path.extras=ebooks/extras
#path.group=true
[googledrive]
googledrive.oauth2_scope=https://www.googleapis.com/auth/drive
googledrive.client_secrets=config/client_secrets.json
googledrive.auth_token=config/auth_token.json
googledrive.gmail=GOOGLE_DRIVE@gmail.com
googledrive.default_folder=packtpub
#googledrive.upload_folder=FOLDER_ID
[onedrive]
onedrive.api_base_url=https://api.onedrive.com/v1.0/
onedrive.client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
onedrive.client_secret=XxXxXxXxXxXxXxXxXxXxXxX
onedrive.session_file=config/session.onedrive.pickle
onedrive.folder=packtpub
[scp]
scp.host=SCP_HOST
scp.user=SCP_USER
scp.password=SCP_PASSWORD
scp.timeout=15
scp.path=SCP_UPLOAD_PATH
[gmail]
gmail.host=smtp.gmail.com
gmail.port=587
gmail.username=EMAIL_USERNAME@gmail.com
gmail.password=EMAIL_PASSWORD
gmail.from=FROM_EMAIL@gmail.com
gmail.to=TO_EMAIL_1@gmail.com,TO_EMAIL_2@gmail.com
[ifttt]
ifttt.event_name=packtpub-crawler
ifttt.key=IFTTT_MAKER_KEY
[join]
join.device_ids=DEVICE_IDS_COMMA_SEPARATED_OR_GROUP_NAME
join.api_key=API_KEY
[firebase]
firebase.database_secret=FIREBASE_DATABASE_SECRET
firebase.url=FIREBASE_URL
firebase.path=/books
[pushover]
pushover.user_key=PUSHOVER_USER_KEY
pushover.api_key=PUSHOVER_API_KEY