mirror of
https://github.com/DragoonAethis/itch-dl.git
synced 2025-02-01 22:32:37 +01:00
Updated Configuration Files (markdown)
parent
50f389a76c
commit
aa5cb99a5f
@ -12,7 +12,14 @@ The `config.json` file is a JSON file with the following structure (make sure yo
|
||||
"api_key": "UeqKR3nBrVCxM32qt....Ga0FH2TwwbDPIDhseFZ",
|
||||
|
||||
// User agent to send with itch.io requests (defaults to "itch-dl/{version} python-requests/{version}")
|
||||
"user_agent": "Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0"
|
||||
"user_agent": "Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0",
|
||||
|
||||
// Filter downloaded files with a shell-style glob (entire file name must match, unmatched files are skipped)
|
||||
"filter_files_glob": "game_name_*_mac.dmg",
|
||||
|
||||
// Filter downloaded files with a Python regex (entire file name must match, unmatched files are skipped)
|
||||
// Use https://regex101.com/ -> Python flavor to test your patterns first
|
||||
"filter_files_regex": "dwarf_fortress_[\d_]+_windows\.zip"
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user