diff --git a/assets/js/dev/galleryblock.js b/assets/js/dev/galleryblock.js index a589ef7b..88e58d94 100644 --- a/assets/js/dev/galleryblock.js +++ b/assets/js/dev/galleryblock.js @@ -11,7 +11,7 @@ async function get_gallery_block(galleryid) { const gallery_url = title_elm.href; const title = title_elm.textContent; - const thumbnails = Array.from(doc.querySelectorAll('.dj-img-cont img'), elm => `https:${elm.getAttribute('data-src')}`); + const thumbnails = Array.from(doc.querySelectorAll('.dj-img-cont img'), elm => `https:${elm.getAttribute('data-src').replace('bigtn', 'webpbigtn').replace(/.jpg$/, '.webp')}`); const artists = Array.from(doc.querySelectorAll('.artist-list a'), elm => elm.innerText); const series = Array.from(doc.querySelectorAll('a[href^="/series/"]'), elm => elm.innerText); diff --git a/hitomi-dev.html.ver b/hitomi-dev.html.ver index 820dea85..e6c5b462 100644 --- a/hitomi-dev.html.ver +++ b/hitomi-dev.html.ver @@ -1 +1 @@ -0.0.7-DEV03 +0.0.7-DEV04 \ No newline at end of file