forked from DebaucheryLibrarian/traxxx
Using media database for images.
This commit is contained in:
@@ -73,7 +73,7 @@ async function scrapeScene(html, url, shootId, ratingRes, site) {
|
||||
const rawTags = $('.tag-list > a[href*="/tag"]').map((tagIndex, tagElement) => $(tagElement).text()).toArray();
|
||||
|
||||
const [channelSite, tags] = await Promise.all([
|
||||
knex('sites').where({ id: sitename }).first(),
|
||||
knex('sites').where({ slug: sitename }).first(),
|
||||
matchTags(rawTags),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user