Fixed Kink Men Test Shoots slug.

This commit is contained in:
DebaucheryLibrarian 2023-01-01 02:03:18 +01:00
parent 5784178716
commit eb759a0dec
4 changed files with 13 additions and 10 deletions

14
package-lock.json generated
View File

@ -78,7 +78,7 @@
"tunnel": "0.0.6", "tunnel": "0.0.6",
"ua-parser-js": "^1.0.32", "ua-parser-js": "^1.0.32",
"undici": "^4.13.0", "undici": "^4.13.0",
"unprint": "^0.8.0", "unprint": "^0.8.1",
"url-pattern": "^1.0.3", "url-pattern": "^1.0.3",
"v-tooltip": "^2.0.3", "v-tooltip": "^2.0.3",
"video.js": "^7.11.4", "video.js": "^7.11.4",
@ -17008,9 +17008,9 @@
} }
}, },
"node_modules/unprint": { "node_modules/unprint": {
"version": "0.8.0", "version": "0.8.1",
"resolved": "https://registry.npmjs.org/unprint/-/unprint-0.8.0.tgz", "resolved": "https://registry.npmjs.org/unprint/-/unprint-0.8.1.tgz",
"integrity": "sha512-PBVdumsc7DfLwwTeSD5xSqITj3PFTUr/wA4unUykzov05YMp0a+Z3tVM1H7JFLZuRgzHRfKDbEpvAcj8vfYlLA==", "integrity": "sha512-6cF2LgIpc7JEBBXWs/CmJgFBAPmvM5NuD3tDvmnnmZR+wrEF03TNR5kv08iPTV/GhT8EHPhZM3LSd8eRipkWdA==",
"dependencies": { "dependencies": {
"axios": "^0.27.2", "axios": "^0.27.2",
"bottleneck": "^2.19.5", "bottleneck": "^2.19.5",
@ -31462,9 +31462,9 @@
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
}, },
"unprint": { "unprint": {
"version": "0.8.0", "version": "0.8.1",
"resolved": "https://registry.npmjs.org/unprint/-/unprint-0.8.0.tgz", "resolved": "https://registry.npmjs.org/unprint/-/unprint-0.8.1.tgz",
"integrity": "sha512-PBVdumsc7DfLwwTeSD5xSqITj3PFTUr/wA4unUykzov05YMp0a+Z3tVM1H7JFLZuRgzHRfKDbEpvAcj8vfYlLA==", "integrity": "sha512-6cF2LgIpc7JEBBXWs/CmJgFBAPmvM5NuD3tDvmnnmZR+wrEF03TNR5kv08iPTV/GhT8EHPhZM3LSd8eRipkWdA==",
"requires": { "requires": {
"axios": "^0.27.2", "axios": "^0.27.2",
"bottleneck": "^2.19.5", "bottleneck": "^2.19.5",

View File

@ -137,7 +137,7 @@
"tunnel": "0.0.6", "tunnel": "0.0.6",
"ua-parser-js": "^1.0.32", "ua-parser-js": "^1.0.32",
"undici": "^4.13.0", "undici": "^4.13.0",
"unprint": "^0.8.0", "unprint": "^0.8.1",
"url-pattern": "^1.0.3", "url-pattern": "^1.0.3",
"v-tooltip": "^2.0.3", "v-tooltip": "^2.0.3",
"video.js": "^7.11.4", "video.js": "^7.11.4",

View File

@ -5243,6 +5243,9 @@ const sites = [
url: 'https://www.kinkmen.com/channel/kinkmen-test-shoot', url: 'https://www.kinkmen.com/channel/kinkmen-test-shoot',
description: 'Featuring must-see videos from our new test shoots.', description: 'Featuring must-see videos from our new test shoots.',
parent: 'kinkmen', parent: 'kinkmen',
parameters: {
slug: 'kinkmentestshoot',
},
}, },
{ {
slug: 'kinkmenclassics', slug: 'kinkmenclassics',

View File

@ -111,9 +111,9 @@ async function fetchActorReleases(actorUrl, page = 1, accReleases = []) {
async function scrapeProfile({ query }, actorUrl, include) { async function scrapeProfile({ query }, actorUrl, include) {
const profile = {}; const profile = {};
profile.description = query.q('.bio #expand-text', true); profile.description = query.content('.bio #expand-text');
const tags = query.all('.bio-tags a', true); const tags = query.contents('.bio-tags a');
if (tags.includes('brunette') || tags.includes('brunet')) profile.hairColor = 'brown'; if (tags.includes('brunette') || tags.includes('brunet')) profile.hairColor = 'brown';
if (tags.includes('blonde') || tags.includes('blond')) profile.hairColor = 'blonde'; if (tags.includes('blonde') || tags.includes('blond')) profile.hairColor = 'blonde';