Updated galleryblock.js
This commit is contained in:
@@ -11,7 +11,7 @@ async function get_gallery_block(galleryid) {
|
|||||||
const gallery_url = title_elm.href;
|
const gallery_url = title_elm.href;
|
||||||
const title = title_elm.textContent;
|
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 artists = Array.from(doc.querySelectorAll('.artist-list a'), elm => elm.innerText);
|
||||||
const series = Array.from(doc.querySelectorAll('a[href^="/series/"]'), elm => elm.innerText);
|
const series = Array.from(doc.querySelectorAll('a[href^="/series/"]'), elm => elm.innerText);
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0.0.7-DEV03
|
0.0.7-DEV04
|
||||||
Reference in New Issue
Block a user