upbit/pixivpy

How to download video?

Honeyloy opened this issue ยท 6 comments

How i can download video from pixiv?

What video do you mean? ugoira (animation/GIF, e.g. 102803341)?

Check the response object of illustration detail, there will be a URL for .zip file, which contains all the frames. Then calls ugoira_metadata and you can found the delays of each frame there.

Finally you can use libraries like Pillow to convert the frames to any format you like.

upbit commented

animation return as ugoira in ZIP format, just unzip it

I find Ugoira with audio, I thought it was a normal video.
It turns out you need to get illust_detail , then look at the type and if it is Ugoira then request ugoira_metadata , get a link and download?

Interesting, didn't know ugoira with audio before. Can you please share an illustration ID so that we can take a look?

Have you tried using a YouTube downloader? It supports downloading from 1000+ sites.

Ry3yr commented

Interesting, didn't know ugoira with audio before. Can you please share an illustration ID so that we can take a look?

There are no ugoira with audio.
(See: https://www.pixiv.net/ugoira_upload.php )
Screenshot_20230731-103746_Chrome

This request can be closed.