Added tag page. Added default 'anal' tag to Vixen scraper for Tushy and Tushy Raw.

This commit is contained in:
2019-11-11 05:18:28 +01:00
parent 4c1087ca53
commit 681f1bca85
37 changed files with 348 additions and 84 deletions

View File

@@ -7,6 +7,15 @@ const moment = require('moment');
const { matchTags } = require('../tags');
const defaultTags = {
blacked: ['bbc'],
blackedraw: ['bbc'],
tushy: ['anal'],
tushyraw: ['anal'],
vixen: [],
deeper: [],
};
function scrapeLatest(html, site) {
const $ = cheerio.load(html, { normalizeWhitespace: true });
@@ -73,7 +82,7 @@ async function scrapeScene(html, url, site) {
} = scene;
const date = new Date(scene.releaseDate);
const tags = await matchTags(rawTags);
const tags = await matchTags([...defaultTags[site.slug], ...rawTags]);
return {
url,