Pixiv Direct Links

Turns thumbnail titles into direct links and disables lazy-loading on ranking pages.

< 脚本 Pixiv Direct Links 的反馈

提问 / 留言

§
发布于:2014-09-27
编辑于:2014-09-27

Ugoira Animations

Hiya,

"Novels are not affected, and the titles of ugoira animations just link to the mode=medium page (as do all other titles until the direct links are determined)."

You can determine the ugoira animations using the api. Too lazy to write it clean explanation but I am sure you can understand the code below. Extracted from latest Pixiv++ (currently partially broken due to Pixiv site changes).

var baseURL = datalist["illust480URL"];
baseURL = baseURL.replace(/(\/mobile\/)([^\/]+)$/gi, "/$2"); //Remove "Mobile" if one exists
metadata.illustBaseURL = baseURL.replace(/(\/\d+)[^\/]+\.(jpe?g|gif|png)(\?\d+)?$/gi, "$1." + datalist.illustExt); //Remove extra information
if (metadata.illustType == 3) //Ugoira
   metadata.illustBaseURL = metadata.illustBaseURL.replace(/\/c\/\d+x\d+\/img-master\/(.+\/\d+)\..+/i, "/img-zip-ugoira/$1_ugoira1920x1080.zip");
Mango 2作者
§
发布于:2014-09-27

I was aware of the possibility from following the Danbooru thread, but I chose not to look into it out of dislike for the format. The zip file doesn't capture the variable frame delay information anyway.

§
发布于:2014-09-28

It is an awful format. Thanks for sharing the useful link.

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址