Pixiv Chat

From Archiveteam
Jump to: navigation, search
Chat.Pixiv.Net
Pixiv Chat logo
Home Page
Home Page
URL http://chat.pixiv.net/
Project status Offline
Archiving status Saved!
Project source https://github.com/ArchiveTeam/pixiv-grab
Project tracker http://tracker.archiveteam.org/pixiv/
IRC channel #savepixiv
Project lead Unknown


About

An oekaki chat service called Pixiv Chat was launched on December 15, 2009 for users to draw oekaki art while in a chat room.


Closure Notice

pixiv Chat will be shut down on June 15th 2017 (Thu), at 12:00 (JST). Thank you for your support so far. In the future, we're planning to release a new pixiv Sketch function that will allow you to draw together with many other creators in real time.

Please notice that the data you posted will only be available until pixiv Chat shutdown. If you want to save and archive the images in your chatroom pages, please be sure to do so before June 15.


Tech Details

Site uses Flash to play back combined packets of data, this data is stored as AMF Files that is a common format with Flash, Stores the raw brushstrokes and other commands to playback the chatroom


Chatrooms use the format http://chat.pixiv.net/roomtop.php?id=### and start at ID 1 and count upwards from there.


The chatroom HTML has the Flashvars line, it contains the roomid, closed(If the room is archived or not), log(Used to get the AMF Packets), srv(What server the AMF packets are stored) and img(the thumbnail))


To get a list of the AMF Packets for Download, You call http://chat.pixiv.net/api/capturepos.php?roomid=### to get a json reply of ["50","197","399"] To grab the AMF Packets you start out at 1-JSON[0].AMF then JSON[0]+1-JSON[1] IE: 1-50.AMF, 51-192.AMF

The URL Format to download the AMFs are: http://'.$srv.'.pixiv.net/'.$splitid[0].'/'.$splitid[1].'/'.$splitid[2].'/'.$logid.'/'.$amfidrange.'.amf

For the splitid you need to pad the room ID with zeros until total length is 9 so room ID 1024 would be 000001024 and would be the url of /000/001/025/$logid