mirror of
https://github.com/DragoonAethis/itch-dl.git
synced 2025-02-01 22:32:37 +01:00
Updated Configuration Files (markdown)
parent
cbb123054a
commit
3dd230e636
@ -14,13 +14,29 @@ The `config.json` file is a JSON file with the following structure (make sure yo
|
||||
// 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",
|
||||
|
||||
// Directory to download games to (default: the current working directory)
|
||||
"download_to": "/home/dragoon/very_safe_for_work_games",
|
||||
|
||||
// Try to fetch assets (mostly screenshots) from game sites
|
||||
"mirror_web": false,
|
||||
|
||||
// Just print the discovered game URLs, do not download anything
|
||||
"urls_only": false,
|
||||
|
||||
// How many threads to use for simultaneous downloads (default: 1)
|
||||
// WARN: Setting this too high may impact itch.io performance. Be reasonable.
|
||||
"parallel": 1,
|
||||
|
||||
// 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)
|
||||
// This is a JSON string - use a double backslash to produce a single backslash in your pattern!
|
||||
// Use https://regex101.com/ -> Python flavor to test your patterns first
|
||||
"filter_files_regex": "dwarf_fortress_[\\d_]+_windows\\.zip"
|
||||
"filter_files_regex": "dwarf_fortress_[\\d_]+_windows\\.zip",
|
||||
|
||||
// Use verbose logging by default
|
||||
"verbose": true
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user