Topic: How can I download animations from pixiv?

Posted under Off Topic

The animation consists of a bunch of JPG's inside a ZIP.
Pixiv uses Javascript download the JPG's one by one and display them like a slideshow (only faster :)

How to download the ZIP file:
1) Look at the HTML source of:
http://www.pixiv.net/member_illust.php?mode=medium&illust_id=46157029
2) Search for:
.zip
3) On this particular page, you'll get 2 results: (other animations on Pixiv might have more)
http:\/\/i2.pixiv.net\/img-zip-ugoira\/img\/2014\/09\/24\/03\/20\/14\/46157029_ugoira600x600.zip
http:\/\/i2.pixiv.net\/img-zip-ugoira\/img\/2014\/09\/24\/03\/20\/14\/46157029_ugoira1920x1080.zip
4) The first one is scaled down to a width of 600 pixels, so you probably want the second one with a width of 700 pixels.
3) Copy the second link into a text editor, and replace every
\/
with a
/
4) Result:
http://i2.pixiv.net/img-zip-ugoira/img/2014/09/24/03/20/14/46157029_ugoira1920x1080.zip
5) If you try to download this file, you'll get a "403 Forbidden" error.
6) What you need to do is set the referrer URL in your browser to:
http://www.pixiv.net/member_illust.php?mode=medium&illust_id=46157029

You can do this with referrer spoofing add-ons.
This one's for Firefox:
https://addons.mozilla.org/en-US/firefox/addon/refcontrol/

Updated by anonymous

Munkelzahn said:
The animation consists of a bunch of JPG's inside a ZIP.
Pixiv uses Javascript download the JPG's one by one and display them like a slideshow (only faster :)

How to download the ZIP file:
1) Look at the HTML source of:
http://www.pixiv.net/member_illust.php?mode=medium&illust_id=46157029
2) Search for:
.zip
3) On this particular page, you'll get 2 results: (other animations on Pixiv might have more)
http:\/\/i2.pixiv.net\/img-zip-ugoira\/img\/2014\/09\/24\/03\/20\/14\/46157029_ugoira600x600.zip
http:\/\/i2.pixiv.net\/img-zip-ugoira\/img\/2014\/09\/24\/03\/20\/14\/46157029_ugoira1920x1080.zip
4) The first one is scaled down to a width of 600 pixels, so you probably want the second one with a width of 700 pixels.
3) Copy the second link into a text editor, and replace every
\/
with a
/
4) Result:
http://i2.pixiv.net/img-zip-ugoira/img/2014/09/24/03/20/14/46157029_ugoira1920x1080.zip
5) If you try to download this file, you'll get a "403 Forbidden" error.
6) What you need to do is set the referrer URL in your browser to:
http://www.pixiv.net/member_illust.php?mode=medium&illust_id=46157029

You can do this with referrer spoofing add-ons.
This one's for Firefox:
https://addons.mozilla.org/en-US/firefox/addon/refcontrol/

Thanks for the info

Updated by anonymous

Much faster way to do it is to either copy paste to browsers console or make bookmark of following:
javascript:window.location=pixiv.context.ugokuIllustFullscreenData.src;

No addons needed and much faster.

Updated by anonymous

chdgs

Privileged

Here is an online tool that converts Pixiv animations to WebM or GIF. Choose the format depending on which better suits the image. WebM generally works better since the frames are a collection of archived JPGs to begin with.

Easier than downloading and manually converting because it accurately takes the frame timing into consideration.

Just paste the submission URL and choose output format.

http://ugoira.dataprocessingclub.org/

Updated by anonymous

chdgs said:
Here is an online tool that converts Pixiv animations to WebM or GIF. Choose the format depending on which better suits the image. WebM generally works better since the frames are a collection of archived JPGs to begin with.

Easier than downloading and manually converting because it accurately takes the frame timing into consideration.

Just paste the submission URL and choose output format.

http://ugoira.dataprocessingclub.org/

ty for that. i was going to suggest flashget for firefox but that doesn't seem to detect that kind of animation so i'll go ahead and add this to my bookmarks.

Updated by anonymous

thanks for the useful tool. hope that site stays up

Updated by anonymous

  • 1