mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.79k stars 966 forks source link

[NSFW Question] Search on Hitomi.la #853

Closed ghost closed 4 years ago

ghost commented 4 years ago

Due to the lack of wiki on that website, I don't know how to figure out how the search tags work. Does anyone know that search tags work? What should I type if I want to find something like this?

(manga OR doujinshi) -lolicon english sex_toy

Also, how do I put this on command line? Use filter?

mikf commented 4 years ago

Relying on Hitomi's the autocomplete suggestions yields -female:loli language:english female:sex_toys for your query, and it seems like you get roughly the same results when omitting the prefixes: -loli english sex_toys, but there doesn't seem to be a way to search by type (manga, doujinshi).

Also, how do I put this on command line? Use filter?

--filter is currently the only way. You can "search" for one specific tag/type/author etc + a language of your choice (https://hitomi.la/type/doujinshi-english-1.html), but general search is currently not implemented.

Something like the following could work, but it'll create tons of empty directories:

# for manga
$ gallery-dl --filter "'Loli ♀' not in tags and 'Sex Toys ♀' in tags" https://hitomi.la/type/manga-english-1.html

# for doujinshi
$ gallery-dl --filter "'Loli ♀' not in tags and 'Sex Toys ♀' in tags" https://hitomi.la/type/doujinshi-english-1.html