-
Im currently trying to download a gallery however i would prefer to not have any of the WIP's being downloaded and have tried but it doesnt work, this is probably pretty easy to do but i honestly have no clue how to make this work, thanks in advance. also is there a way to not download duplicates? there seems to be lots of duplicates which takes up lots of space, they typically have the exact same file size so im not sure if that helps. they also seem to be from the same post with just different resolutions |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
or with regex
|
Beta Was this translation helpful? Give feedback.
-
I can get this to work just fine but when I attempt to use --filter twice it only observres the first one. gallery-dl --simulate https://www.patreon.com/url/posts --filter "not re.search(r'(?i)wip|t[ai]melapses?|PG|page|sale', filename)" --filter "date >= datetime(2024, 3, 1) or abort()" |
Beta Was this translation helpful? Give feedback.
https://www.regular-expressions.info/alternation.html
--filter "not re.search(r'(?i)wip|t[ai]melapses?|sketch|process', filename)"
does it or not?
Anyway, to use multiple
--filter
expressions you need to combine them withand
/or
in one string,--filter "extension not in ('psd',) and not re.search(r'(?i)wip|t[ai]melapses?|sketch|process', filename)"