forked from DebaucheryLibrarian/traxxx
Swapped poster and photo for Kelly Madison scraper.
This commit is contained in:
parent
00252b6727
commit
3956994580
|
@ -105,11 +105,9 @@ function scrapeScene(html, url, site, shallowRelease) {
|
|||
quality: resolutions[index],
|
||||
}));
|
||||
|
||||
[release.poster] = document.body.innerHTML
|
||||
release.photos = [document.body.innerHTML
|
||||
.match(/poster: .*\.jpg/)[0]
|
||||
.match(/https:\/\/.*\.jpg/);
|
||||
|
||||
if (shallowRelease) release.photos = [shallowRelease.poster]; // deep poster different from shallow poster, use shallow poster as additional photo
|
||||
.match(/https:\/\/.*\.jpg/)[0]];
|
||||
|
||||
return release;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue