Fixed MariskaX scraper breaking when thumbnails are missing.

This commit is contained in:
DebaucheryLibrarian 2026-01-19 21:48:54 +01:00
parent 938707f17f
commit eba09e4cf9
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ function scrapeScene(data, channel) {
const posterPath = release.poster && new URL(release.poster).pathname.replace('//', '/'); const posterPath = release.poster && new URL(release.poster).pathname.replace('//', '/');
release.photos = data.extra_thumbnails.filter((src) => !src.includes(posterPath)); release.photos = data.extra_thumbnails?.filter((src) => !src.includes(posterPath));
release.caps = data.thumbs; release.caps = data.thumbs;
release.teaser = data.special_thumbnails; release.teaser = data.special_thumbnails;