diff options
author | mitsugu oyama | 2013-07-03 14:08:38 +0900 |
---|---|---|
committer | mitsugu oyama | 2013-07-03 14:08:38 +0900 |
commit | 7ef8f640b971a2a687f4ddda193237bb4721a755 (patch) | |
tree | 8e004badc467972dc229cc9d84da6908786b5ee2 /pixiv.js | |
parent | 203edff514dbe96d31d35775820fe7ec2433d27c (diff) | |
download | vimperator-plugins-7ef8f640b971a2a687f4ddda193237bb4721a755.tar.bz2 |
fix change structure of contents
Diffstat (limited to 'pixiv.js')
-rw-r--r-- | pixiv.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -262,13 +262,16 @@ commands.addUserCommand( let saveMangaFiles=function(){ let htmldoc=getDOMHtmlDocument(xhrImgInfo.responseText); if(htmldoc){ - let max=htmldoc.getElementsByClassName('image-container').length; + let max=htmldoc.getElementsByClassName('image ui-scroll-view').length; for(var i=0;i<max;i++){ requestMangaSingleContent( - url.replace('manga','manga_big').replace('type=scroll','page=')+i, + url.replace('manga','manga_big') + .replace('type=scroll','page=') + .replace('&uarea=follower_new_illust','')+i, url.replace('&type=scroll','') ); } + } }; // }}} |