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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user