Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.55k stars 217 forks source link

nhentai (and other sites like it) input automatic format conversion #2995

Open grillgamesh opened 1 year ago

grillgamesh commented 1 year ago

--Not related to any specific problem-- for some inane reason, the nhentai API parses things differently than legitimatly every other API i've seen.

instead of needing a query with the tag "spice_and_wolf", it needs the input to be "spice+and+wolf".

If it's possible, a way to set a auto-replace option/setting in the "sources" tab would be awesome, to account for differing APIs and inputs. I'm thinking something like "replace all _ with +" or something/

Bionus commented 1 year ago

Any reason you're not just typing spice and wolf in the search bar then, instead of spice_and_wolf?

grillgamesh commented 1 year ago

the issue remains, the query needs it to be a "+" between the words; and also because i'd like to be able to trawl multiple sources at once, instead of searching -only- nhentai or -only- exhentai, despite the queries being the same (after input sanitization)

sidenote; --for single word queries, like "kemonomimi" or "absurdres" it works just fine, so there's nothing needed there.