Added teaser support. Added Score network with scraper for Scoreland. Improved q. Added assets.

This commit is contained in:
2020-02-02 05:14:58 +01:00
parent 14e5695b6e
commit a97c6defca
52 changed files with 4291 additions and 3435 deletions

View File

@@ -116,7 +116,7 @@ function scrapeLatest(html) {
}
function scrapeScene(html, url) {
const { q, qa, qd, qu, ql, qm } = ex(html);
const { q, qa, qd, qus, ql, qm } = ex(html);
const release = { url };
// release.entryId = slugify(release.title);
@@ -131,7 +131,7 @@ function scrapeScene(html, url) {
release.actors = qa('.info-video-models a', true);
release.tags = qa('.info-video-category a', true);
release.photos = qu('.swiper-wrapper .swiper-slide a').map(source => source.replace('.jpg/', '.jpg'));
release.photos = qus('.swiper-wrapper .swiper-slide a').map(source => source.replace('.jpg/', '.jpg'));
release.poster = qm('meta[property="og:image"');
if (!release.poster) {