forked from DebaucheryLibrarian/traxxx
Added Dogfart scraper. Added 'date added' property to release page.
This commit is contained in:
@@ -69,10 +69,12 @@ async function scrapeScene(html, url, site) {
|
||||
const rawTags = $('.vdoTags a').map((tagIndex, tagElement) => $(tagElement).text()).toArray();
|
||||
|
||||
const [channelSite, tags] = await Promise.all([
|
||||
knex('sites')
|
||||
.where({ slug: siteId })
|
||||
.orWhere({ name: siteName })
|
||||
.first(),
|
||||
site.isFallback
|
||||
? knex('sites')
|
||||
.where({ slug: siteId })
|
||||
.orWhere({ name: siteName })
|
||||
.first()
|
||||
: site,
|
||||
matchTags(rawTags),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user