Fixed New Sensations classic scraper breaking on missing actors.
This commit is contained in:
parent
bcd3c08faa
commit
c4e4f649f5
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
@ -404,7 +404,7 @@ const tags = [
|
|||
{
|
||||
name: 'triple vaginal',
|
||||
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',
|
||||
},
|
||||
{
|
||||
|
@ -1589,6 +1589,11 @@ const aliases = [
|
|||
for: 'tvp',
|
||||
secondary: true,
|
||||
},
|
||||
{
|
||||
name: 'tvp',
|
||||
for: 'tvp',
|
||||
secondary: true,
|
||||
},
|
||||
{
|
||||
name: 'double vag',
|
||||
for: 'dvp',
|
||||
|
@ -2050,6 +2055,10 @@ const aliases = [
|
|||
name: 'tap',
|
||||
for: 'tap',
|
||||
},
|
||||
{
|
||||
name: 'triple vaginal penetration',
|
||||
for: 'tvp',
|
||||
},
|
||||
{
|
||||
name: 'tease',
|
||||
for: 'teasing',
|
||||
|
|
|
@ -1054,6 +1054,7 @@ const tagMedia = [
|
|||
['triple-penetration', 'lucky_bee_analvids', 'Lucky Bee', 'analvids'],
|
||||
['triple-penetration', 'angela_white_julesjordan', 'Angela White in "Her Biggest Gangbang Ever"', 'julesjordan'],
|
||||
['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'],
|
||||
['trainbang', 'poster', 'Kali Roses in "Passing Me Around"', 'blacked'],
|
||||
['trainbang', 'gina_gerson_assholefever', 'Gina Gerson in "Oppa Gangbang Style"', 'assholefever'],
|
||||
|
|
|
@ -39,11 +39,11 @@ function scrapeLatestClassic(scenes) {
|
|||
const actors = query.contents('.update_models a');
|
||||
|
||||
release.actors = actors.length === 0
|
||||
? query.content('.update_models').split(/,\s*/)
|
||||
? query.content('.update_models')?.split(/,\s*/) // not all entries have models listed
|
||||
: actors;
|
||||
|
||||
// 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' });
|
||||
|
||||
|
@ -59,7 +59,7 @@ function scrapeLatestClassic(scenes) {
|
|||
function scrapeSceneBlock({ query }) {
|
||||
const release = {};
|
||||
|
||||
release.title = query.content('.indScene h2');
|
||||
release.title = query.content('.indScene h2, .indScene h1');
|
||||
release.description = query.content('.description');
|
||||
release.date = query.date('.sceneDateP span', 'MM/DD/YYYY');
|
||||
|
||||
|
|
Loading…
Reference in New Issue