Broadened Love Her Films profile selectors.

This commit is contained in:
DebaucheryLibrarian 2026-02-09 03:21:26 +01:00
parent e7a1ad42f5
commit 7bbb7cb43d
1 changed files with 3 additions and 3 deletions

View File

@ -125,12 +125,12 @@ async function fetchScene(sceneUrl, entity, _baseRelease, { parameters }) {
function scrapeProfile({ query }, url) {
const profile = { url };
const bio = Object.fromEntries(query.all('ul[class*="HeroModel_list"] li').map((bioEl) => [
const bio = Object.fromEntries(query.all('ul[class*=HeroModel][class*="__list"] li').map((bioEl) => [
slugify(unprint.query.content(bioEl, 'p:first-child'), '_'),
unprint.query.content(bioEl, 'p:last-child'),
]));
profile.description = query.content('p[class*="HeroModel_text"]');
profile.description = query.content('p[class*=HeroModel][class*="__text"]');
profile.birthPlace = bio.place_of_birth;
profile.dateOfBirth = unprint.extractDate(bio.date_of_birth, ['MMMM DD, YYYY', 'MM/DD/YYYY']);
@ -163,7 +163,7 @@ function scrapeProfile({ query }, url) {
profile.piercings = profile.hasPiercings ? bio.piercings : null;
}
profile.avatar = query.sourceSet('picture[class*="modelImage"] img');
profile.avatar = query.sourceSet('picture[class*="__modelImage"] img');
return profile;
}