Danbooru

Pixiv source change?

Posted under General

I just uploaded post #1195051, and it didn't give me an artist when I hit "Find artist". (The artist's tag is on Danbooru though) When I tried to find similar, it gave me this message.
I now realized the source now started with "i1" instead of the usual e.g. "img12" or "img29" I've seen. Is this "i1" causing any problem to upload? I tried finding artist and finding similar with other posts and they all have the same thing happen.

Edit: Just ran a check on source:*i1.pixiv.net*, it seems like from my post onwards, other people had the same type of source, but uploaded normally though. :/

Updated by RaisingK

Pixiv seems to have changed the image URL to a new format, which has gone and broken IQDB/find artist.
Don't think adding the new URL to the artist page will help either, as there seems to be several images with "i2" aswell.

I was about to make a thread about this too, since I also noticed some Pixiv images with different URLs. In addition to the i1.pixiv.net, they now have "/img[##]/img/[artist ID]/" instead of "/img/[artist ID]/".

In addition to not working with the artist database, this change also breaks the upload bookmarklet from forum #57908.

Damn pixiv, always making random changes...

ghostrigger said:
don't know a quick fix yet, but both http://i1.pixiv.net/img41/img/mokomaru/28214517.png and http://img41.pixiv.net/img/mokomaru/28214517.png seem to point to the same image. if that's the case, and if 'i1.pixiv.net' breaks something, the 'img##' should be moved and replaced the 'i1' part in the direct url.

The only variations uploaded to Danbooru at the moment are i1 and i2, and this URL rewrite works (md5 match) for all of them. Of course, this might be an intermediate thing, with pixiv pulling support for the old URL later on...

Updated

I just noticed while uploading, it's completely throwing off Find Artist. I had to run a source: search just now because I knew it was the wrong name for the artist.

My guess is the Regexp in the system is looking for something like http://img[0-9][0-9].pixiv.net/img/[a-z0-9]+/[0-9]+.[png|PNG|jpeg|jpg|JPEG|JPG|gif|GIF] before extracting the artist and removing any _m, etc
So it can't handle the /i?. and /img??/img/ until updated.

Checks across three sites show Image Search, Source links (for new url uploads) and Find Artist to be broken universally. Direct Upload works though.

Updated

Krugger said:
SO everything but the Find Artist and Find Similar seem to work for me. Does this mean that the artist tags sources need to be changed to that i2?

No. That would break FA for the old sources, and anyway it's i2 and i1.

Albert will just have to update Danbooru to transform the URLs behind the scenes the way it already does with the old style URL, without needing to falsify sources in old posts and artist entries.

I've already PMed Albert if no one else has. We'll see what he makes of this.

Updated

RaisingK said:
No. That would break FA for the old sources, and anyway it's i2 and i1.

Albert will just have to update Danbooru to transform the URLs behind the scenes the way it already does with the old style URL, without needing to falsify existing sources in posts and artist entries.

I've already PMed Albert if no one else has. We'll see what he makes of this.

Understood, I will wait

Actually, I have a question. Due to the source link change from Pixiv, wouldn't that allow a lot of duplicates to be uploaded by other people who don't know if it's already on site? Sometimes, even I skip the "Find Similar" button myself.

albert said:
I believe this should work now.

The "Source" link under Statistics on post/show pages doesn't link to the mode=medium/manga page.

BlueFox said:
Due to the source link change from Pixiv, wouldn't that allow a lot of duplicates to be uploaded by other people who don't know if it's already on site? Sometimes, even I skip the "Find Similar" button myself.

The "this post already exists" message for matching sources doesn't prevent you from uploading anyway. Danbooru looks at the MD5 hash. If your hash matches an existing hash, you just get redirected to the existing post.

Mysterio006 said:
Clicking the source link for each post in this manner leads directly to the image, instead of the pixiv page. It seems that images don't load in this way as well.

Direct linking to pixiv images results in an anti-hotlink. Basically, a blank page. You might see it if you visited a page with it earlier in the session.
This is why the engine converts the url to a post preview link.

piespy said:
I've also fixed iqdb, queries should now work again on pixiv images.

I'm getting an error message, "Not an image or image format not supported (server says it is text/html)."

SciFi said:
Direct linking to pixiv images results in an anti-hotlink. Basically, a blank page. You might see it if you visited a page with it earlier in the session.
This is why the engine converts the url to a post preview link.

Is there no way the engine can make the links go to the Pixiv page like they used to, instead of the image file?

Updated

1 2