mikf / gallery-dl

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

[Pixiv] Mobile API skips entries #3872

Open Forgive opened 1 year ago

Forgive commented 1 year ago

The current API being used skips entries, it is not a gallery-dl issue by itself but an issue with the Pixiv API because this same behavior can be observed on the iOS application (and presumably, if an Android one is present, it should happen on it too given it uses the same endpoints)

I've been looking on the web browser application and it seems they have a https://www.pixiv.net/ajax/search/artworks/ API that doesn't require any login (?) but I'm not sure if there are other restrictions on it.

mikf commented 1 year ago

The web API does require a login for R18 works. Try https://github.com/Nandaka/PixivUtil2 if you want a Pixiv downloader that uses this API. gallery-dl will keep using the mobile API for as long as that is feasible.

nisehime commented 1 year ago

Does it skip it in search or user profiles too? Any examples?

ClosedPort22 commented 1 year ago

How often does the mobile API skip entries? Could you provide an example?