Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 58175dce21 1.227.5 2023-06-09 00:33:42 +02:00
DebaucheryLibrarian c4e4f649f5 Fixed New Sensations classic scraper breaking on missing actors. 2023-06-09 00:33:40 +02:00
7 changed files with 17 additions and 7 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.227.4", "version": "1.227.5",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx", "name": "traxxx",
"version": "1.227.4", "version": "1.227.5",
"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.227.4", "version": "1.227.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": {

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -404,7 +404,7 @@ const tags = [
{ {
name: 'triple vaginal', name: 'triple vaginal',
slug: 'tvp', slug: 'tvp',
description: 'Getting fucked in the pussy by *three* cocks at the same time.', description: 'Getting your pussy fucked by *three* cocks at the same time.',
group: 'penetration', group: 'penetration',
}, },
{ {
@ -1589,6 +1589,11 @@ const aliases = [
for: 'tvp', for: 'tvp',
secondary: true, secondary: true,
}, },
{
name: 'tvp',
for: 'tvp',
secondary: true,
},
{ {
name: 'double vag', name: 'double vag',
for: 'dvp', for: 'dvp',
@ -2050,6 +2055,10 @@ const aliases = [
name: 'tap', name: 'tap',
for: 'tap', for: 'tap',
}, },
{
name: 'triple vaginal penetration',
for: 'tvp',
},
{ {
name: 'tease', name: 'tease',
for: 'teasing', for: 'teasing',

View File

@ -1054,6 +1054,7 @@ const tagMedia = [
['triple-penetration', 'lucky_bee_analvids', 'Lucky Bee', 'analvids'], ['triple-penetration', 'lucky_bee_analvids', 'Lucky Bee', 'analvids'],
['triple-penetration', 'angela_white_julesjordan', 'Angela White in "Her Biggest Gangbang Ever"', 'julesjordan'], ['triple-penetration', 'angela_white_julesjordan', 'Angela White in "Her Biggest Gangbang Ever"', 'julesjordan'],
['triple-penetration', 'ria_sunn_legalporno', 'Ria Sunn in SZ2082', 'analvids'], ['triple-penetration', 'ria_sunn_legalporno', 'Ria Sunn in SZ2082', 'analvids'],
['tvp', 'lucky_bee_legalporno', 'Lucky Bee', 'analvids'],
['tvp', 'september_reign_wefuckblackgirls', 'September Reign in "Second Appearance"', 'wefuckblackgirls'], ['tvp', 'september_reign_wefuckblackgirls', 'September Reign in "Second Appearance"', 'wefuckblackgirls'],
['trainbang', 'poster', 'Kali Roses in "Passing Me Around"', 'blacked'], ['trainbang', 'poster', 'Kali Roses in "Passing Me Around"', 'blacked'],
['trainbang', 'gina_gerson_assholefever', 'Gina Gerson in "Oppa Gangbang Style"', 'assholefever'], ['trainbang', 'gina_gerson_assholefever', 'Gina Gerson in "Oppa Gangbang Style"', 'assholefever'],

View File

@ -39,11 +39,11 @@ function scrapeLatestClassic(scenes) {
const actors = query.contents('.update_models a'); const actors = query.contents('.update_models a');
release.actors = actors.length === 0 release.actors = actors.length === 0
? query.content('.update_models').split(/,\s*/) ? query.content('.update_models')?.split(/,\s*/) // not all entries have models listed
: actors; : actors;
// native videothumb entry ID does not occur on scene page, date is not available on all sites // native videothumb entry ID does not occur on scene page, date is not available on all sites
release.entryId = slugify([...release.actors.sort(), release.title]); release.entryId = slugify([...(release.actors?.sort() || []), release.title]);
const photoCount = query.number('.update_thumb', { attribute: 'cnt' }); const photoCount = query.number('.update_thumb', { attribute: 'cnt' });
@ -59,7 +59,7 @@ function scrapeLatestClassic(scenes) {
function scrapeSceneBlock({ query }) { function scrapeSceneBlock({ query }) {
const release = {}; const release = {};
release.title = query.content('.indScene h2'); release.title = query.content('.indScene h2, .indScene h1');
release.description = query.content('.description'); release.description = query.content('.description');
release.date = query.date('.sceneDateP span', 'MM/DD/YYYY'); release.date = query.date('.sceneDateP span', 'MM/DD/YYYY');