implement conditional directories (#1394)

They work the same way as conditional filenames (84d2e640), e.g.

"directory": {
    "score >= 20": ["high score"],
    "score >= 5" : ["mid score"],
    ""           : ["{category}", "default"]
}
This commit is contained in:
Mike Fährmann
2021-06-20 19:44:12 +02:00
parent ee1064a2b2
commit fd00d47116
4 changed files with 76 additions and 27 deletions

View File

@@ -1,5 +1,7 @@
# Changelog
## Unreleased
## 1.18.0 - 2021-06-19
### Additions
- [foolfuuka] support `archive.wakarimasen.moe` ([#1595](https://github.com/mikf/gallery-dl/issues/1595))