Upgraded pg, knex and postgraphile. Updated nvmrc version to latest node LTS. Fixed Gamma scraper not passing request headers to new http module.

This commit is contained in:
DebaucheryLibrarian 2020-12-14 03:16:47 +01:00
parent 80b0f9ee0f
commit 07f0249717
9 changed files with 583 additions and 395 deletions

2
.nvmrc
View File

@ -1 +1 @@
12.13.0
14.15.1

948
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -38,7 +38,7 @@
"author": "DebaucheryLibrarian",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/cli": "^7.12.10",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/preset-env": "^7.8.4",
@ -73,6 +73,7 @@
"@graphile-contrib/pg-simplify-inflector": "^5.0.0-beta.1",
"@tensorflow/tfjs-node": "^1.5.2",
"@thependulum/bhttp": "^1.2.6",
"acorn": "^8.0.4",
"babel-polyfill": "^6.26.0",
"bhttp": "^1.2.6",
"blake2": "^4.0.0",
@ -91,7 +92,7 @@
"express": "^4.17.1",
"express-promise-router": "^3.0.3",
"express-react-views": "^0.11.0",
"face-api.js": "^0.21.0",
"face-api.js": "^0.22.2",
"faker": "^5.1.0",
"file-type": "^14.1.4",
"fluent-ffmpeg": "^2.1.2",
@ -100,15 +101,15 @@
"iconv-lite": "^0.5.1",
"inquirer": "^7.3.3",
"jsdom": "^16.3.0",
"knex": "^0.21.5",
"knex": "^0.21.13",
"knex-migrate": "^1.7.4",
"longjohn": "^0.2.12",
"mime": "^2.4.4",
"moment": "^2.24.0",
"nanoid": "^2.1.11",
"opn": "^5.5.0",
"pg": "^8.3.3",
"postgraphile": "^4.5.5",
"pg": "^8.5.1",
"postgraphile": "^4.10.0",
"postgraphile-plugin-connection-filter": "^1.1.3",
"promise-task-queue": "^1.2.0",
"prop-types": "^15.7.2",

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -801,6 +801,7 @@ const tagPhotos = [
['fake-boobs', 16, 'Marsha May in "Once You Go Black 7" for Jules Jordan'],
['fake-boobs', 9, 'Putri Cinta for Watch 4 Beauty'],
['fake-boobs', 3, 'Ashly Anderson for Passion HD'],
['fake-boobs', 21, 'Emelie Ekström'],
['fake-boobs', 10, 'Tia Cyrus in "Titty-Fucked Yoga Goddess" for Latina Sex Tapes'],
['fake-boobs', 20, 'Chloe Lamour for DDF Busty'],
['fake-boobs', 11, 'Jessa Rhodes and Cali Carter in "Busty Anal Workout" for LesbianX'],
@ -808,9 +809,9 @@ const tagPhotos = [
['fake-boobs', 8, 'Amber Alena for Score'],
['fake-boobs', 19, 'Kerrie Lee in "Bricked" for Studio 66 TV'],
['fake-boobs', 4, 'Capri Cavanni for Big Tits in Sports'],
['fake-boobs', 15, 'Amber Jade and Karma Rx in "Amber In The Hills: Part 1" for Brazzers'],
// ['fake-boobs', 15, 'Amber Jade and Karma Rx in "Amber In The Hills: Part 1" for Brazzers'],
// ['fake-boobs', 6, 'Cathy Heaven in "Heavenly Ass" for Big Wett Butts'],
['fake-boobs', 12, 'Nikki Monroe and Kortney Kane for Big Tits In Uniform'],
// ['fake-boobs', 12, 'Nikki Monroe and Kortney Kane for Big Tits In Uniform'],
['fake-cum', 3, 'Alexia Anders in "Thanksgiving Creampies" for Cum 4K'],
['fake-cum', 0, 'Jynx Maze for Cumshot Surprise (Porn Pros)'],
['fake-cum', 1, 'Ricki White for Fucked Up Facials'],

View File

@ -441,7 +441,9 @@ async function fetchApiLatest(site, page = 1, preData, include, upcoming = false
},
],
}, {
headers: {
Referer: referer,
},
}, {
encodeJSON: true,
});
@ -568,7 +570,9 @@ async function fetchActorScenes(actorName, apiUrl, siteSlug) {
},
],
}, {
headers: {
Referer: `https://www.${siteSlug}.com/en/videos`,
},
}, {
encodeJSON: true,
});
@ -625,7 +629,9 @@ async function fetchApiProfile({ name: actorName }, context, include) {
},
],
}, {
headers: {
Referer: referer,
},
}, {
encodeJSON: true,
});