Compare commits

..

No commits in common. "bc51a917341eb85f9104c7afc686245b5326fc10" and "621e40304f8d41021d7ffd80c814913dc374d28f" have entirely different histories.

4 changed files with 4 additions and 8 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.123.6",
"version": "1.123.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.123.6",
"version": "1.123.5",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@ -37,9 +37,7 @@ function scrapeProfile(html, actorName) {
if (bio.dateOfBirth) profile.birthdate = moment.utc(bio.dateOfBirth, 'YYYY-MM-DD').toDate();
if (profile.placeOfBirth && bio.country) profile.birthPlace = `${bio.placeOfBirth}, ${bio.country}`;
else if (bio.country) profile.birthPlace = bio.country;
if (profile.placeOfBirth || bio.country) profile.birthPlace = `${bio.placeOfBirth}, ${bio.country}`;
profile.eyes = bio.eyeColor;
profile.hair = bio.hairColor;
profile.ethnicity = bio.ethnicity;

View File

@ -241,12 +241,10 @@ async function fetchUpcoming(site) {
return null;
}
async function fetchScene(url, site, baseScene) {
async function fetchScene(url, site) {
const entryId = url.match(/\d+/)[0];
const { session, instanceToken } = await getSession(url);
console.log(baseScene);
const res = await session.get(`https://site-api.project1service.com/v2/releases/${entryId}`, {
headers: {
Instance: instanceToken,