Added Insex. Renamed q's stand-alone date function. Separated q's trim function. Release tile uses cover if available, and poster is not available.

This commit is contained in:
2020-02-12 04:39:57 +01:00
parent 2f894edda5
commit b8074205ef
21 changed files with 212 additions and 23 deletions

View File

@@ -2,7 +2,7 @@
const bhttp = require('bhttp');
const { d, ex, exa, get } = require('../utils/q');
const { fd, ex, exa, get } = require('../utils/q');
const slugify = require('../utils/slugify');
/* eslint-disable newline-per-chained-call */
@@ -97,7 +97,7 @@ async function scrapeProfile(html, _url, actorName) {
};
profile.description = q('.description-box', true);
profile.birthdate = d(bio.birthday, 'MMMM DD, YYYY');
profile.birthdate = fd(bio.birthday, 'MMMM DD, YYYY');
if (bio.nationality) profile.nationality = bio.nationality;