Skip to content

How to obtain original quality ugoira files? #416

Open

Description

@Operad64

Currently is does not seem possible to download ugoira posts in the highest available quality. If I run the following commands

ugoira_data = await self.api.ugoira_metadata(illust.id)
zip_urls = ugoira_data['ugoira_metadata'].get('zip_urls', {})

print(f"available qualities: {list(zip_urls.keys())}")

the response is always that the only available quality is "medium". However I know from using other downloaders that these high quality files do exist. Sometimes the difference in file size is 10x.

How do I obtain the source for the actual original quality file?

Activity

  1. changed the title [-]How to obtain original quality ugoria files?[/-] [+]How to obtain original quality ugoira files?[/+] on May 17, 2026
  2. Xdynix commented on May 17, 2026

    @Xdynix
    Collaborator

    This library simulates the Pixiv mobile app’s API requests, so it’s possible that the current mobile API version no longer provides the original ugoira files either. There may be a newer API endpoint available, but so far nobody has intercepted and documented it. PRs are very welcome if anyone manages to find it.

    As a temporary workaround, I observed through intercepted webpage AJAX requests that the original version URL can be obtained simply by replacing 600x600 with 1920x1080 in the ZIP file URL returned by the API response.

    PS: I noticed you're using the async methods, which suggests you may actually be using Mikubill/pixivpy-async rather than this original library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions