This commit is contained in:
parent
0481bc3574
commit
966417c479
|
|
@ -67,7 +67,7 @@ CGO_ENABLED=0 go build
|
||||||
|
|
||||||
## config
|
## config
|
||||||
|
|
||||||
`config.toml`:
|
Full `config.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
dry_run = true # set to `false` for real run
|
dry_run = true # set to `false` for real run
|
||||||
|
|
@ -148,7 +148,8 @@ a bot" together with cookies.
|
||||||
|
|
||||||
Either add a manually generated POT to the config: `po_token =
|
Either add a manually generated POT to the config: `po_token =
|
||||||
"{TOKEN}"` or, set up bgutils[2] with the youtube extractor to do POT
|
"{TOKEN}"` or, set up bgutils[2] with the youtube extractor to do POT
|
||||||
generation automatically.
|
generation automatically, in which case, leave the `po_token` as an
|
||||||
|
empty string (`""`).
|
||||||
|
|
||||||
```
|
```
|
||||||
# assumes pipx was used to install yt-dlp
|
# assumes pipx was used to install yt-dlp
|
||||||
|
|
@ -213,6 +214,9 @@ WantedBy=timers.target
|
||||||
|
|
||||||
## container
|
## container
|
||||||
|
|
||||||
|
> [!CAUTION]
|
||||||
|
> The image is currently broken
|
||||||
|
|
||||||
```
|
```
|
||||||
podman run --rm \
|
podman run --rm \
|
||||||
--env='CONFIG=/data/config.toml' \
|
--env='CONFIG=/data/config.toml' \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue