Adapted Score scraper for Scoreland2.

This commit is contained in:
ThePendulum 2020-02-03 02:12:02 +01:00
parent b20cf53645
commit 944f091ca5
1 changed files with 4 additions and 1 deletions

View File

@ -88,7 +88,10 @@ async function scrapeScene(html, url) {
if (photosUrl) {
release.photos = await fetchPhotos(photosUrl);
} else {
release.photos = qis('img[src*=ThumbNails]');
release.photos = qis('img[src*=ThumbNails], .p-photos .tn img').map(photo => [
photo.replace('_tn', ''),
photo,
]);
}
const trailer = qt();