mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
add documentation for default config section
Thanks for pointing this out ;) https://github.com/Garmelon/PFERD/pull/78#discussion_r1146558742 Co-authored-by: Joscha <joscha@plugh.de>
This commit is contained in:
parent
62f1cf30c0
commit
cb0e9127ea
17
README.md
17
README.md
@ -161,18 +161,19 @@ $ pferd ilias-web --base-url https://ilias.my-university.example --client-id My_
|
||||
To use a config file for the given instance, just extend the example above as follows:
|
||||
|
||||
```ini
|
||||
[auth:ilias]
|
||||
... # same as described above
|
||||
|
||||
[crawl:ExampleCourse]
|
||||
type = ilias-web
|
||||
auth = auth:ilias
|
||||
target = 1337420
|
||||
# instance related settings
|
||||
[DEFAULT]
|
||||
base_url = https://ilias.my-university.example
|
||||
client_id = My_University
|
||||
|
||||
[auth:ilias]
|
||||
...
|
||||
|
||||
[crawl:foo]
|
||||
...
|
||||
```
|
||||
|
||||
Note that `base_url` and `client_id` can also be specified on a per-crawler level.
|
||||
|
||||
## Example configuration
|
||||
|
||||
Inspired by [this ILIAS downloader](https://github.com/V3lop5/ilias-downloader/blob/main/configs), the following configurations should work out of the box for the corresponding universities:
|
||||
|
Loading…
Reference in New Issue
Block a user