Compare commits
2 Commits
e7a1ad42f5
...
fec70db20b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fec70db20b | ||
|
|
7bbb7cb43d |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.248.56",
|
"version": "1.248.57",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.248.56",
|
"version": "1.248.57",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "^3.458.0",
|
"@aws-sdk/client-s3": "^3.458.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.248.56",
|
"version": "1.248.57",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -125,12 +125,12 @@ async function fetchScene(sceneUrl, entity, _baseRelease, { parameters }) {
|
|||||||
function scrapeProfile({ query }, url) {
|
function scrapeProfile({ query }, url) {
|
||||||
const profile = { 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'), '_'),
|
slugify(unprint.query.content(bioEl, 'p:first-child'), '_'),
|
||||||
unprint.query.content(bioEl, 'p:last-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.birthPlace = bio.place_of_birth;
|
||||||
|
|
||||||
profile.dateOfBirth = unprint.extractDate(bio.date_of_birth, ['MMMM DD, YYYY', 'MM/DD/YYYY']);
|
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.piercings = profile.hasPiercings ? bio.piercings : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
profile.avatar = query.sourceSet('picture[class*="modelImage"] img');
|
profile.avatar = query.sourceSet('picture[class*="__modelImage"] img');
|
||||||
|
|
||||||
return profile;
|
return profile;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user