Compare commits

..

No commits in common. "4d20dae0798772af8fe08f86a5c5dc9373d8cf45" and "e8d081cc6729880050c3152a4f629116959e1d3a" have entirely different histories.

4 changed files with 4 additions and 7 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.229.2", "version": "1.229.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx", "name": "traxxx",
"version": "1.229.2", "version": "1.229.1",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@casl/ability": "^5.2.2", "@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.229.2", "version": "1.229.1",
"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": {

View File

@ -52,7 +52,6 @@ const hairColors = {
raven: 'black', raven: 'black',
red: 'red', red: 'red',
redhead: 'red', redhead: 'red',
'red head': 'red',
rood: 'red', rood: 'red',
blue: 'blue', blue: 'blue',
green: 'green', green: 'green',

View File

@ -62,8 +62,6 @@ function scrapeAll(scenes, channel) {
function scrapeProfile(actor, entity) { function scrapeProfile(actor, entity) {
const profile = {}; const profile = {};
console.log(actor);
if (actor.bio.about && !/\band\b/.test(actor.bio.about)) { if (actor.bio.about && !/\band\b/.test(actor.bio.about)) {
const bio = actor.bio.about.split(/\n/).filter(Boolean).reduce((acc, item) => { const bio = actor.bio.about.split(/\n/).filter(Boolean).reduce((acc, item) => {
const [key, value] = item.match(/(.+): (.+)/).slice(1); const [key, value] = item.match(/(.+): (.+)/).slice(1);
@ -151,7 +149,7 @@ async function fetchProfile(baseActor, { entity, parameters }) {
const res = await qu.get(url); const res = await qu.get(url);
if (res.ok && res.body) { if (res.ok && res.body) {
return scrapeProfile(res.body._source || res.body, entity); return scrapeProfile(res.body._source, entity);
} }
return res.status; return res.status;