forked from DebaucheryLibrarian/traxxx
Added missing Bang sites, updated channel URLs.
This commit is contained in:
@@ -99,7 +99,7 @@ async function scrapeProfile(data) {
|
||||
|
||||
profile.birthPlace = bio.born;
|
||||
profile.dateOfBirth = unprint.extractDate(bio.birthdate, 'YYYY-MM-DD');
|
||||
profile.age = bio.age;
|
||||
profile.age = bio.age; // not always in data even when displayed on site
|
||||
|
||||
profile.measurements = bio.measurements;
|
||||
profile.height = convert(bio.height, 'cm');
|
||||
@@ -121,11 +121,7 @@ async function scrapeProfile(data) {
|
||||
async function fetchProfile(actor, context) {
|
||||
const url = `${context.channel.url}/models/${actor.slug}`;
|
||||
|
||||
const res = await unprint.get(url, {
|
||||
parser: {
|
||||
runScripts: 'dangerously',
|
||||
},
|
||||
});
|
||||
const res = await unprint.get(url);
|
||||
|
||||
if (res.ok) {
|
||||
const data = res.context.query.json('#__NEXT_DATA__');
|
||||
|
||||
Reference in New Issue
Block a user