ccloli/E-Hentai-Downloader

Exclusion in "pages range" download doesn't work

Triramama opened this issue · 3 comments

Please tell me if I'm missing something. I sometimes need to download a gallery without a certain page or two, but when I input inside the "pages range" field, for example, "-1" what I expect the script to do is download all the pages except for the first one, however what it does, completely counterintuitively, is ignoring the minus prefix and downloading only the page 1 instead.
Can this somehow be fixed?

ccloli commented

Nope, there's no exclude mode. The prefix and suffix - means start from the first page or to the last page. Hover on the input should give you some hints.
image

Alright, I hope you add someday though

ccloli commented

v1.35 is released, now you can prefix a page or page range with ! to exclude them.

You can combined ranges by order, like 1-10,!3-8,5 will gives you page 1, 2, 5, 9 and 10.