Updated galleryblock.js

This commit is contained in:
tom5079
2022-01-20 15:16:31 +09:00
parent c0682db621
commit 0453e7d2b6
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -1 +1 @@
0.0.7-DEV03
0.0.7-DEV04