Skip to content

Feat: Start from a configuration file#1446

Open
StellaShiina wants to merge 1 commit into
iawia002:masterfrom
StellaShiina:master
Open

Feat: Start from a configuration file#1446
StellaShiina wants to merge 1 commit into
iawia002:masterfrom
StellaShiina:master

Conversation

@StellaShiina

@StellaShiina StellaShiina commented Apr 24, 2026

Copy link
Copy Markdown
  • Run lux --config /path/to/config.yaml to use config yaml
  • If config file is not given, it will try $HOME/.config/lux/config.yaml or ./config.yaml
  • Config priority: args > config file > default
# Example

user-agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"
retry: 5
# cookie can be string or path
# cookie: "cookies.txt"

multi-thread: true
thread: 16
chunk-size: 2
output-path: "./Download"
file-name-length: 150

caption: true
embed-subtitle: false
episode-title-only: true

aria2: false
aria2-addr: "127.0.0.1:6800"
aria2-method: "http"
aria2-token: "your_secret_token"

youku-ccode: "0502"

#...

- Use `lux --config /path/to/config.yaml` to use config yaml
- If config file is not given, lux will search
  `$HOME/.config/lux/config.yaml` or `./config.yaml`
- Config priority: args > config file > default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant