Skip to content
Discussion options

You must be logged in to vote

Pixiv's mobile API only returns data for the first file of an "album", so there not much that can be done here as long as gallery-dl uses this API.

The AJAX API at least returns width and height for each image, but would require an extra API request per "album".

Example mobile API data for a work with multiple files:

    "page_count": 3,
    "width": 6071,
    "height": 8598,
    "sanity_level": 2,
    "x_restrict": 0,
    "series": {
      "id": 198059,
      "title": "会社と私生活-オンとオフ-"
    },
    "meta_single_page": {},
    "meta_pages": [
      {
        "image_urls": {
          "square_medium": "https://i.pximg.net/c/360x360_10_webp/img-master/img/2025/07/15/12/00/10/132718179_p0_square…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@colbert2677
Comment options

@mikf
Comment options

mikf Jul 16, 2025
Maintainer

Answer selected by colbert2677
@colbert2677
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants