This repository has been archived by the owner on Dec 7, 2024. It is now read-only.
forked from moedn/LOSH-krawler
-
Notifications
You must be signed in to change notification settings - Fork 2
/
sample-config.yml
36 lines (33 loc) · 1.54 KB
/
sample-config.yml
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
user_agent: "OKH-LOSH-Crawler github.com/OPEN-NEXT/OKH-LOSH" # (opt)
# for crawler state
database:
type: file # (opt) nothing else implemented
path: ./workdir # (opt)
repositories:
file:
workdir: ./workdir # (opt)
wikibase:
url: "https://losh.ose-germany.de" # (req)
client_id: xxxxxxxxxx # (req) in Mediawiki displayed as "Client application key"
client_secret: xxxxxxxxxx # (req) in Mediawiki displayed as "Client application secret"
token_url: "https://losh.ose-germany.de/rest.php/oauth2/access_token" # (req)
reconcile_property: P68 # (req)
fetchers:
defaults: # (opt) default values for fetchers
retries: 3 # (opt) default number of retries
timeout: 10 # (opt) default request timeout
wikifactory.com:
retries: 3 # (opt) fetcher specific number of retries
timeout: 15 # (opt) fetcher specific request timeout
github.com:
retries: 3 # (opt) fetcher specific number of retries
timeout: 15 # (opt) fetcher specific request timeout
access_token: xxxxxxxxxx # (req) personal access token to use the GitHub API
oshwa.org:
retries: 3 # (opt) fetcher specific number of retries
timeout: 15 # (opt) fetcher specific request timeout
access_token: xxxxxxxxxx # (req) personal access token to use the OSHWA API
thingiverse.com:
retries: 3 # (opt) fetcher specific number of retries
timeout: 15 # (opt) fetcher specific request timeout
access_token: xxxxxxxxxx # (req) app access token to use the Thingiverse API