mikf / gallery-dl

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

[Pixiv] s_mode=s_tag_tc support #4207

Open Sarisan opened 1 year ago

Sarisan commented 1 year ago

I noticed that its not supported, though it works on desktop site and implemented as an option on mobile site

mikf commented 1 year ago

We would need the App API search target name for s_tag_tc.

All the references I can find, e.g. Pixiv App API or pixivpy, only list the three for s_tag, s_tag_full, and s_tc. ("text" and "keyword" return an error when used for regular search)

Sarisan commented 1 year ago

We would need the App API search target name for s_tag_tc.

All the references I can find, e.g. Pixiv App API or pixivpy, only list the three for s_tag, s_tag_full, and s_tc. ("text" and "keyword" return an error when used for regular search)

s_tag_tc is the mix of s_tag and s_tc results. If it's not defined in API I think site just does 2 search queries in different modes and then mixes search results. Is it possible to implement it to gallery-dl?

mikf commented 1 year ago

Couldn't you then just run gallery-dl twice? Once with s_mode=s_tag and once with s_mode=s_tc?