These api urls also work, allowing more search options:
http://spapi.pixiv.net/iphone/illust.php?illust_id=IDNUM # single post
http://spapi.pixiv.net/iphone/new_illust.php?p=PAGENUM # list of newest posts on pixiv
http://spapi.pixiv.net/iphone/ranking.php?p=PAGENUM&mode=day # daily ranking
http://spapi.pixiv.net/iphone/ranking.php?p=PAGENUM&mode=week # weekly ranking
http://spapi.pixiv.net/iphone/ranking.php?p=PAGENUM&mode=month # monthly ranking
http://spapi.pixiv.net/iphone/search.php?p=PAGENUM&s_mode=SEARCHMODE&word=QUERY # search
http://spapi.pixiv.net/iphone/search_user.php?p=PAGENUM&nick=USERNAME # search users
http://spapi.pixiv.net/iphone/member_illust.php?p=PAGENUM&id=USERID # view posts by specific user
Note that the above should use the PHPSESSID parameter too. Also note that if you append &c_mode=count to the end of one of those urls you'll receive the number of posts returned by that search, instead of the posts themselves (this let's you find out e.g. how many posts a specific tag or artist has).
Field 9, the mobile thumbnail URL, also contains the revision timestamp if it's a revision. This is the only way I know of to detect revised images now.
And for the new URLs, you can also compare the date embedded in the URL with the actual upload date.
evazion said:
Another small thing: you can lookup multiple illustrations in one request.
Seems it also affects the image names when you save the image, which may or may not be intentional. I know Deviantart added stuff to the end of the filename an unknown time ago...
Did they change it back? Getting proper links again
No, they're still using the new format. Note that old images from before the change still use the old format, and manga images still use the old format for some reason. You're probably looking at one of those.
After login you'll receive PHPSESSID and device_token cookies. How to use PHPSESSID you already know, guys. device_token should be passed in "Authorization" header, format is "Bearer %s", where %s - content of device_token cookie.
Note: Unsure about p={PAGE} params for the methods listed above. Also, a lot of them accept extra param dummy=0. Idk what does it mean for api, but still. Novels parsed just like regular illusts (excel csv without headers). Field no. 27 (after r18 flag) stands for "series" id.
Added a fancy new border around highlighted thumbnails it seems...
You wish it was just that. They've changed how the images display. Script or not, you can't copy the thumbnail or preview image url via right click now. At least until it's updated. Hopefully.
Nope. At least, not for Managa posts. I just uploaded post #1808381 using _big_p0
That doesn't seem to work on anything newer than that.
Also, I really hope they accidentally used the wrong URL format for manga uploads, since as of right now any image larger than 1200px in width and/or height is being scaled down.
I uploaded a couple of test images, both 2000x2000. I can't seem to get them to display at anything higher than 1200x1200. Also, I uploaded them as PNGs but were changed to JPG.
For fuck's sake, what the Hell are the pixiv devs doing?
Ars said: I uploaded a couple of test images, both 2000x2000. I can't seem to get them to display at anything higher than 1200x1200. Also, I uploaded them as PNGs but were changed to JPG.
I'll put up with site breaking changes to urls, but I won't stand for that. It should be avalible as the artist intended, with credit, or we'll seek some place new.
Edit: Buggar. You're right. Fortunately, I have other sources.
Oh god, look at post #1808436. pixiv #46277913 is already okay, though - I wonder if it was a mistake&reupload on author's part (notice how dimensions are totally different from usual) or devs redid all the shit they did.
Oh god, look at post #1808436. pixiv #46277913 is already okay, though - I wonder if it was a mistake&reupload on author's part (notice how dimensions are totally different from usual) or devs redid all the shit they did.