Skip to content
Discussion options

You must be logged in to vote

is there any way to use straight up conditionals?

There is, and it is also how you'd need to handle the No Volume case.
https://gdl-org.github.io/docs/configuration.html#extractor-directory

    "directory": {
        "group[0] == 'Official'": ["{category}", "{manga} (official)"   , "Volume {volume:0>2}", "c{chapter:0>3}{title:? - //}"],
        "volume"                : ["{category}", "[{author[0]}] {manga}", "Volume {volume:0>2}", "c{chapter:0>3}{title:? - //}"],
        ""                      : ["{category}", "[{author[0]}] {manga}", "No Volume"          , "c{chapter:0>3}{title:? - //}"]
    }

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@diamondsw
Comment options

Comment options

You must be logged in to vote
1 reply
@mikf
Comment options

mikf Aug 2, 2025
Maintainer

Answer selected by diamondsw
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants