Adapted Score scraper for Scoreland2.
This commit is contained in:
parent
b20cf53645
commit
944f091ca5
|
@ -88,7 +88,10 @@ async function scrapeScene(html, url) {
|
||||||
if (photosUrl) {
|
if (photosUrl) {
|
||||||
release.photos = await fetchPhotos(photosUrl);
|
release.photos = await fetchPhotos(photosUrl);
|
||||||
} else {
|
} 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();
|
const trailer = qt();
|
||||||
|
|
Loading…
Reference in New Issue