-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.env.example
48 lines (33 loc) · 1.12 KB
/
.env.example
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
# Your Amazon username
AMAZON_USERNAME=""
# Your amazon password
AMAZON_PASSWORD=""
# Amazon top level domain
AMAZON_TLD="de"
# Only extracts invoices from this year (i.e. 2023)
AMAZON_YEAR_FILTER="2023"
# Only extracts invoices from this page (i.e. 2)
AMAZON_PAGE_FILTER=""
# Tracks already scraped documents and starts a new run at the last scraped one
ONLY_NEW=true
# Destination path for all scraped documents
FILE_DESTINATION_FOLDER="./documents/"
# Fallback extension when no extension can be determined
FILE_FALLBACK_EXTENSION=".pdf"
# Debug flag (sets the loglevel to DEBUG)
DEBUG=false
# Creates subfolders for every scraped page/plugin
SUBFOLDER_FOR_PAGES=true
# Sets the log path
LOG_PATH="./logs/"
# Log level (see https://github.com/winstonjs/winston#logging-levels)
LOG_LEVEL="info"
# Flag for executing the script periodically. Needs 'RECURRING_PATTERN' to be set. Default `true`when using docker container
RECURRING=false
# Cron pattern to execute periodically. Needs RECURRING to true
RECURRING_PATTERN="*/30 * * * *"
# Timezone used for docker enviroments
TZ="Europe/Berlin"
### Danger-Zone
NPM_TOKEN=
GITHUB_TOKEN=