Compare commits
No commits in common. "bc51a917341eb85f9104c7afc686245b5326fc10" and "621e40304f8d41021d7ffd80c814913dc374d28f" have entirely different histories.
bc51a91734
...
621e40304f
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.123.6",
|
"version": "1.123.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.123.6",
|
"version": "1.123.5",
|
||||||
"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": {
|
||||||
|
|
|
@ -37,9 +37,7 @@ function scrapeProfile(html, actorName) {
|
||||||
|
|
||||||
if (bio.dateOfBirth) profile.birthdate = moment.utc(bio.dateOfBirth, 'YYYY-MM-DD').toDate();
|
if (bio.dateOfBirth) profile.birthdate = moment.utc(bio.dateOfBirth, 'YYYY-MM-DD').toDate();
|
||||||
|
|
||||||
if (profile.placeOfBirth && bio.country) profile.birthPlace = `${bio.placeOfBirth}, ${bio.country}`;
|
if (profile.placeOfBirth || bio.country) profile.birthPlace = `${bio.placeOfBirth}, ${bio.country}`;
|
||||||
else if (bio.country) profile.birthPlace = bio.country;
|
|
||||||
|
|
||||||
profile.eyes = bio.eyeColor;
|
profile.eyes = bio.eyeColor;
|
||||||
profile.hair = bio.hairColor;
|
profile.hair = bio.hairColor;
|
||||||
profile.ethnicity = bio.ethnicity;
|
profile.ethnicity = bio.ethnicity;
|
||||||
|
|
|
@ -241,12 +241,10 @@ async function fetchUpcoming(site) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fetchScene(url, site, baseScene) {
|
async function fetchScene(url, site) {
|
||||||
const entryId = url.match(/\d+/)[0];
|
const entryId = url.match(/\d+/)[0];
|
||||||
const { session, instanceToken } = await getSession(url);
|
const { session, instanceToken } = await getSession(url);
|
||||||
|
|
||||||
console.log(baseScene);
|
|
||||||
|
|
||||||
const res = await session.get(`https://site-api.project1service.com/v2/releases/${entryId}`, {
|
const res = await session.get(`https://site-api.project1service.com/v2/releases/${entryId}`, {
|
||||||
headers: {
|
headers: {
|
||||||
Instance: instanceToken,
|
Instance: instanceToken,
|
||||||
|
|
Loading…
Reference in New Issue