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

@@ -101,7 +101,7 @@ function scrapeScene(html, url, site) {
}
function scrapeProfile(html) {
const { q, qu } = ex(html);
const { q, qus } = ex(html);
const profile = {};
profile.description = q('.bio_about_text', true);
@@ -109,7 +109,7 @@ function scrapeProfile(html) {
const avatar = q('img.performer-pic', 'src');
if (avatar) profile.avatar = `https:${avatar}`;
profile.releases = qu('.scene-item > a:first-child');
profile.releases = qus('.scene-item > a:first-child');
return profile;
}