Saving results to database. Showing webpage.

This commit is contained in:
2019-05-06 02:01:57 +02:00
parent ca0133803a
commit 3df5a821b6
20 changed files with 1141 additions and 439 deletions

View File

@@ -2,8 +2,7 @@
/* eslint-disable max-len */
exports.seed = knex => Promise.resolve()
.then(() => knex('networks').del())
.then(() => knex('networks').insert([
.then(() => knex.raw(`${knex('networks').insert([
{
id: '21sextury',
name: '21Sextury',
@@ -69,6 +68,12 @@ exports.seed = knex => Promise.resolve()
url: 'https://www.pervcity.com',
description: '',
},
{
id: 'pornpros',
name: 'Porn Pros',
url: 'https://pornpros.com',
description: 'Watch the best HD exclusive movies and videos on Porn Pros. All the hottest new Pornstar and amateur girls in High Definition updated daily.',
},
{
id: 'private',
name: 'Private',
@@ -93,4 +98,4 @@ exports.seed = knex => Promise.resolve()
url: 'https://www.xempire.com',
description: 'XEmpire.com brings you today\'s top pornstars in beautifully shot, HD sex scenes across 4 unique porn sites of gonzo porn, interracial, lesbian & erotica!',
},
]));
]).toString()} ON CONFLICT DO NOTHING`));

File diff suppressed because it is too large Load Diff

View File

@@ -2,9 +2,7 @@
/* eslint-disable max-len */
exports.seed = knex => Promise.resolve()
.then(() => knex('tags').del())
.then(() => knex('tags_groups').del())
.then(() => knex('tags_groups').insert([
.then(() => knex.raw(`${knex('tags_groups').insert([
{
group: 'age',
name: 'Age',
@@ -45,8 +43,8 @@ exports.seed = knex => Promise.resolve()
group: 'roleplay',
name: 'Roleplay',
},
]))
.then(() => knex('tags').insert([
]).toString()} ON CONFLICT DO NOTHING`))
.then(() => knex.raw(`${knex('tags').insert([
{
tag: '69',
alias_for: null,
@@ -62,9 +60,10 @@ exports.seed = knex => Promise.resolve()
alias_for: null,
},
{
tag: 'American',
tag: 'american',
alias_for: null,
group_id: 'ethnicity',
capitalization: 1,
},
{
tag: 'anal creampie',
@@ -105,8 +104,9 @@ exports.seed = knex => Promise.resolve()
group_id: 'body',
},
{
tag: 'ATM',
tag: 'atm',
alias_for: null,
capitalization: 2,
},
{
tag: 'ball licking',
@@ -123,13 +123,15 @@ exports.seed = knex => Promise.resolve()
group_id: 'location',
},
{
tag: 'BDSM',
tag: 'bdsm',
alias_for: null,
capitalization: 2,
},
{
tag: 'BBC',
tag: 'bbc',
alias_for: null,
group_id: 'body',
capitalization: 2,
},
{
tag: 'big cock',
@@ -224,24 +226,27 @@ exports.seed = knex => Promise.resolve()
alias_for: null,
},
{
tag: 'DAP',
tag: 'dap',
alias_for: null,
capitalization: 2,
},
{
tag: 'deepthroat',
alias_for: null,
},
{
tag: 'DP',
tag: 'dp',
alias_for: null,
capitalization: 2,
},
{
tag: 'dungeon',
alias_for: null,
},
{
tag: 'DVP',
tag: 'dvp',
alias_for: null,
capitalization: 2,
},
{
tag: 'double blowjob',
@@ -270,9 +275,10 @@ exports.seed = knex => Promise.resolve()
alias_for: null,
},
{
tag: 'European',
tag: 'european',
alias_for: null,
group_id: 'ethnicity',
capitalization: 1,
},
{
tag: 'facefuck',
@@ -305,9 +311,10 @@ exports.seed = knex => Promise.resolve()
alias_for: null,
},
{
tag: 'FMF',
tag: 'fmf',
alias_for: null,
group_id: 'group',
capitalization: 2,
},
{
tag: 'gag',
@@ -341,9 +348,10 @@ exports.seed = knex => Promise.resolve()
group_id: 'clothing',
},
{
tag: 'Hungarian',
tag: 'hungarian',
alias_for: null,
group_id: 'ethnicity',
capitalization: 1,
},
{
tag: 'humiliation',
@@ -396,14 +404,16 @@ exports.seed = knex => Promise.resolve()
alias_for: null,
},
{
tag: 'MILF',
tag: 'milf',
alias_for: null,
group_id: 'age',
capitalization: 2,
},
{
tag: 'MFM',
tag: 'mfm',
alias_for: null,
group_id: 'group',
capitalization: 2,
},
{
tag: 'miniskirt',
@@ -484,9 +494,10 @@ exports.seed = knex => Promise.resolve()
alias_for: null,
},
{
tag: 'Russian',
tag: 'russian',
alias_for: null,
group_id: 'ethnicity',
capitalization: 1,
},
{
tag: 'saliva',
@@ -594,8 +605,9 @@ exports.seed = knex => Promise.resolve()
alias_for: null,
},
{
tag: 'TP',
tag: 'tp',
alias_for: null,
capitalization: 2,
},
{
tag: 'trimmed',
@@ -631,12 +643,12 @@ exports.seed = knex => Promise.resolve()
alias_for: null,
group_id: 'location',
},
]))
.then(() => knex('tags').insert([
]).toString()} ON CONFLICT DO NOTHING`))
.then(() => knex.raw(`${knex('tags').insert([
// ALIASES
{
tag: '2-on-1',
alias_for: 'MFM',
alias_for: 'mfm',
},
{
tag: '3+ on 1',
@@ -656,7 +668,7 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'ass to mouth',
alias_for: 'ATM',
alias_for: 'atm',
},
{
tag: 'bald pussy',
@@ -668,7 +680,7 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'BGB',
alias_for: 'MFM',
alias_for: 'mfm',
},
{
tag: 'big ass',
@@ -676,11 +688,11 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'big black cock',
alias_for: 'BBC',
alias_for: 'bbc',
},
{
tag: 'big black cocks',
alias_for: 'BBC',
alias_for: 'bbc',
},
{
tag: 'big cocks',
@@ -840,11 +852,11 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'dom',
alias_for: 'BDSM',
alias_for: 'bdsm',
},
{
tag: 'domination',
alias_for: 'BDSM',
alias_for: 'bdsm',
},
{
tag: 'dominatrix',
@@ -852,51 +864,51 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'double anal penetration',
alias_for: 'DAP',
alias_for: 'dap',
},
{
tag: 'double anal (dap)',
alias_for: 'DAP',
alias_for: 'dap',
},
{
tag: 'double anal penetration (dap)',
alias_for: 'DAP',
alias_for: 'dap',
},
{
tag: 'double penetration',
alias_for: 'DP',
alias_for: 'dp',
},
{
tag: 'double penetration (dp)',
alias_for: 'DP',
alias_for: 'dp',
},
{
tag: 'DPP',
alias_for: 'DVP',
tag: 'dpP',
alias_for: 'dvp',
},
{
tag: 'double vaginal penetration',
alias_for: 'DVP',
alias_for: 'dvp',
},
{
tag: 'double vaginal (dvp)',
alias_for: 'DVP',
alias_for: 'dvp',
},
{
tag: 'double vaginal penetration (dvp)',
alias_for: 'DVP',
alias_for: 'dvp',
},
{
tag: 'double vaginal (dpp)',
alias_for: 'DVP',
alias_for: 'dvp',
},
{
tag: 'double pussy penetration',
alias_for: 'DVP',
alias_for: 'dvp',
},
{
tag: 'double pussy penetration (dpp)',
alias_for: 'DVP',
alias_for: 'dvp',
},
{
tag: 'drool',
@@ -926,6 +938,10 @@ exports.seed = knex => Promise.resolve()
tag: 'face sitting',
alias_for: 'facesitting',
},
{
tag: 'facial cumshot',
alias_for: 'facial',
},
{
tag: 'facials',
alias_for: 'facial',
@@ -995,12 +1011,12 @@ exports.seed = knex => Promise.resolve()
alias_for: 'miniskirt',
},
{
tag: 'MMF',
alias_for: 'MFM',
tag: 'mmf',
alias_for: 'mfm',
},
{
tag: 'MFF',
alias_for: 'FMF',
tag: 'mff',
alias_for: 'fmf',
},
{
tag: 'natural',
@@ -1076,11 +1092,11 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'sadomasochism',
alias_for: 'BDSM',
alias_for: 'bdsm',
},
{
tag: 'sadism',
alias_for: 'BDSM',
alias_for: 'bdsm',
},
{
tag: 'scissoring',
@@ -1100,7 +1116,7 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'slave',
alias_for: 'BDSM',
alias_for: 'bdsm',
},
{
tag: 'small ass',
@@ -1116,7 +1132,7 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'spitroast',
alias_for: 'MFM',
alias_for: 'mfm',
},
{
tag: 'standing doggystyle',
@@ -1140,11 +1156,11 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'sub',
alias_for: 'BDSM',
alias_for: 'bdsm',
},
{
tag: 'submission',
alias_for: 'BDSM',
alias_for: 'bdsm',
},
{
tag: 'tattoos',
@@ -1172,7 +1188,7 @@ exports.seed = knex => Promise.resolve()
},
{
tag: 'triple penetration',
alias_for: 'TP',
alias_for: 'tp',
},
{
tag: 'whipping',
@@ -1190,4 +1206,4 @@ exports.seed = knex => Promise.resolve()
tag: 'zapper',
alias_for: 'electric shock',
},
]));
]).toString()} ON CONFLICT DO NOTHING`));