diff --git a/seeds/02_sites.js b/seeds/02_sites.js index e04ec9c6..fe6a3c23 100755 --- a/seeds/02_sites.js +++ b/seeds/02_sites.js @@ -14045,6 +14045,8 @@ exports.seed = (knex) => Promise.resolve() return upsert('entities_tags', tagAssociations, ['entity_id', 'tag_id'], knex); }); +exports.sites = sites; + /* 'X-Art' => 'xart', 'met-art' => 'metart', diff --git a/seeds/03_studios.js b/seeds/03_studios.js index 89bffe3e..52b85683 100755 --- a/seeds/03_studios.js +++ b/seeds/03_studios.js @@ -1,4 +1,7 @@ const upsert = require('../src/utils/upsert'); +const { sites } = require('./02_sites'); + +const channelSlugs = sites.map((site) => site.slug); const studios = [ // ANALVIDS / LEGALPORNO @@ -24,14 +27,16 @@ const studios = [ }, { name: 'Porn World', - slug: 'pornworld', + slug: 'analvidspornworld', + rename: 'pornworld', url: 'https://www.analvids.com/studios/porn-world', parent: 'analvids', showcased: true, }, { name: 'Angelo Godshack Original', - slug: 'angelogodshackoriginal', + slug: 'analvidsangelogodshackoriginal', + rename: 'angelogodshackoriginal', url: 'https://www.analvids.com/studios/angelo-godshack-original', parent: 'analvids', showcased: true, @@ -270,7 +275,8 @@ const studios = [ }, { name: 'RichardMannsWorld', - slug: 'richardmannsworld', + slug: 'analvidsrichardmannsworld', + rename: 'richardmannsworld', url: 'https://www.analvids.com/studios/richardmannsworld', parent: 'analvids', description: "Welcome to Richard Mann's World..MY world. Here you will NOT find people making love or even having sex. What you will see here is HARDCORE FUCKING, and nothing else. This is the Life and Times of Richard Mann ", @@ -405,7 +411,8 @@ const studios = [ }, { name: 'Immorallive', - slug: 'immorallive', + slug: 'analvidsimmorallive', + rename: 'immorallive', url: 'https://www.analvids.com/studios/immorallive', parent: 'analvids', }, @@ -626,7 +633,8 @@ const studios = [ }, { name: 'Private Black', - slug: 'privateblack', + slug: 'analvidsprivateblack', + rename: 'privateblack', url: 'https://www.analvids.com/studios/private-black', parent: 'analvids', }, @@ -763,7 +771,8 @@ const studios = [ }, { name: 'Mr Anal', - slug: 'mranal', + slug: 'analvidsmranal', + rename: 'mranal', url: 'https://www.analvids.com/studios/mr-anal', parent: 'analvids', alias: [ @@ -791,7 +800,8 @@ const studios = [ }, { name: 'Culioneros', - slug: 'culioneros', + slug: 'analvidsculioneros', + rename: 'culioneros', url: 'https://www.analvids.com/studios/culioneros', parent: 'analvids', }, @@ -809,7 +819,8 @@ const studios = [ }, { name: 'Hentaied', - slug: 'hentaied', + slug: 'analvidshentaied', + rename: 'hentaied', url: 'https://www.analvids.com/studios/hentaied', parent: 'analvids', }, @@ -1246,7 +1257,8 @@ const studios = [ }, { name: 'Dancing Bear', - slug: 'dancingbear', + slug: 'analvidsdancingbear', + rename: 'dancingbear', url: 'https://www.analvids.com/studios/dancing-bear', parent: 'analvids', }, @@ -1429,7 +1441,8 @@ const studios = [ }, { name: 'Haze Her', - slug: 'hazeher', + slug: 'analvidshazeher', + rename: 'hazeher', url: 'https://www.analvids.com/studios/haze-her', parent: 'analvids', }, @@ -1506,7 +1519,8 @@ const studios = [ }, { name: 'MyGF', - slug: 'mygf', + slug: 'analvidsmygf', + rename: 'mygf', url: 'https://www.analvids.com/studios/mygf', parent: 'analvids', }, @@ -1598,7 +1612,8 @@ const studios = [ }, { name: 'College Rules', - slug: 'collegerules', + slug: 'analvidscollegerules', + rename: 'collegerules', url: 'https://www.analvids.com/studios/college-rules', parent: 'analvids', }, @@ -1655,7 +1670,8 @@ const studios = [ }, { name: 'XXXPawn', - slug: 'xxxpawn', + slug: 'analvidsxxxpawn', + rename: 'xxxpawn', url: 'https://www.analvids.com/studios/xxxpawn', parent: 'analvids', }, @@ -1730,13 +1746,15 @@ const studios = [ }, { name: 'Busty Adventures', - slug: 'bustyadventures', + slug: 'analvidsbustyadventures', + rename: 'bustyadventures', url: 'https://www.analvids.com/studios/busty-adventures', parent: 'analvids', }, { name: 'Public Invasion', - slug: 'publicinvasion', + slug: 'analvidspublicinvasion', + rename: 'publicinvasion', url: 'https://www.analvids.com/studios/public-invasion', parent: 'analvids', }, @@ -1769,13 +1787,15 @@ const studios = [ }, { name: 'Abuse Me', - slug: 'abuseme', + slug: 'analvidsabuseme', + rename: 'abuseme', url: 'https://www.analvids.com/studios/abuse-me', parent: 'analvids', }, { name: 'Filthy Family', - slug: 'filthyfamily', + slug: 'analvidsfilthyfamily', + rename: 'filthyfamily', url: 'https://www.analvids.com/studios/filthy-family', parent: 'analvids', }, @@ -1822,7 +1842,8 @@ const studios = [ }, { name: 'Brandi Belle', - slug: 'brandibelle', + slug: 'analvidsbrandibelle', + rename: 'brandibelle', url: 'https://www.analvids.com/studios/brandi-belle', parent: 'analvids', }, @@ -1878,7 +1899,8 @@ const studios = [ }, { name: 'Teste de Fudelidade', - slug: 'testedefudelidade', + slug: 'analvidstestedefudelidade', + rename: 'testedefudelidade', url: 'https://www.analvids.com/studios/teste_de_fudelidade', parent: 'analvids', description: 'Ola, seja bem vindo ao melhor canal de contendo adulto do Brasil, aqui voce encontra os melhores videos de sexo com as atrizes mais safadas do mundo porno! ', @@ -1998,7 +2020,8 @@ const studios = [ }, { name: 'Out In Public', - slug: 'outinpublic', + slug: 'analvidsoutinpublic', + rename: 'outinpublic', url: 'https://www.analvids.com/studios/out-in-public', parent: 'analvids', tags: [ @@ -2136,7 +2159,8 @@ const studios = [ }, { name: 'Mia Khalifa', - slug: 'miakhalifa', + slug: 'analvidsmiakhalifa', + rename: 'miakhalifa', url: 'https://www.analvids.com/studios/mia-khalifa', parent: 'analvids', }, @@ -2369,7 +2393,8 @@ const studios = [ }, { name: 'Bareback Attack', - slug: 'barebackattack', + slug: 'analvidsbarebackattack', + rename: 'barebackattack', url: 'https://www.analvids.com/studios/bareback-attack', parent: 'analvids', tags: [ @@ -2391,7 +2416,8 @@ const studios = [ }, { name: 'Its Gonna Hurt', - slug: 'itsgonnahurt', + slug: 'analvidsitsgonnahurt', + rename: 'itsgonnahurt', url: 'https://www.analvids.com/studios/its-gonna-hurt', parent: 'analvids', tags: [ @@ -2413,7 +2439,8 @@ const studios = [ }, { name: 'Rub Him', - slug: 'rubhim', + slug: 'analvidsrubhim', + rename: 'rubhim', url: 'https://www.analvids.com/studios/rub-him', parent: 'analvids', tags: [ @@ -2481,7 +2508,8 @@ const studios = [ }, { name: 'Bait Bus', - slug: 'baitbus', + slug: 'analvidsbaitbus', + rename: 'baitbus', url: 'https://www.analvids.com/studios/bait-bus-', parent: 'analvids', tags: [ @@ -2732,7 +2760,8 @@ const studios = [ }, { name: 'CFNM Show', - slug: 'cfnmshow', + slug: 'analvidscfnmshow', + rename: 'cfnmshow', url: 'https://www.analvids.com/studios/cfnm-show', parent: 'analvids', }, @@ -3044,7 +3073,8 @@ const studios = [ }, { name: 'Fucky Sucky', - slug: 'fuckysucky', + slug: 'analvidsfuckysucky', + rename: 'fuckysucky', url: 'https://www.analvids.com/studios/fucky-sucky', parent: 'analvids', }, @@ -3062,7 +3092,8 @@ const studios = [ }, { name: 'jayspov', - slug: 'jayspov', + slug: 'analvidsjayspov', + rename: 'jayspov', url: 'https://www.analvids.com/studios/jayspov', parent: 'analvids', }, @@ -3147,7 +3178,8 @@ const studios = [ }, { name: 'Bareback Casting', - slug: 'barebackcasting', + slug: 'analvidsbarebackcasting', + rename: 'barebackcasting', url: 'https://www.analvids.com/studios/bareback-casting', parent: 'analvids', tags: [ @@ -3388,7 +3420,8 @@ const studios = [ }, { name: 'Blacks on Moms', - slug: 'blacksonmoms', + slug: 'analvidsblacksonmoms', + rename: 'blacksonmoms', url: 'https://www.analvids.com/studios/blacks-on-moms', parent: 'analvids', }, @@ -3420,13 +3453,15 @@ const studios = [ }, { name: 'Futanari', - slug: 'futanari', + slug: 'analvidsfutanari', + rename: 'futanari', url: 'https://www.analvids.com/studios/futanari', parent: 'analvids', }, { name: 'UngloryHole', - slug: 'ungloryhole', + slug: 'analvidsungloryhole', + rename: 'ungloryhole', url: 'https://www.analvids.com/studios/ungloryhole', parent: 'analvids', tags: [ @@ -3561,7 +3596,8 @@ const studios = [ }, { name: 'Blue Pill Men', - slug: 'bluepillmen', + slug: 'analvidsbluepillmen', + rename: 'bluepillmen', url: 'https://www.analvids.com/studios/blue-pill-men', parent: 'analvids', }, @@ -3574,7 +3610,8 @@ const studios = [ }, { name: 'Poundhisass', - slug: 'poundhisass', + slug: 'analvidspoundhisass', + rename: 'poundhisass', url: 'https://www.analvids.com/studios/poundhisass', parent: 'analvids', tags: [ @@ -3693,7 +3730,8 @@ const studios = [ }, { name: 'Black Patrol', - slug: 'blackpatrol', + slug: 'analvidsblackpatrol', + rename: 'blackpatrol', url: 'https://www.analvids.com/studios/black-patrol', parent: 'analvids', }, @@ -3719,7 +3757,8 @@ const studios = [ }, { name: 'Thug Hunter', - slug: 'thughunter', + slug: 'analvidsthughunter', + rename: 'thughunter', url: 'https://www.analvids.com/studios/thug-hunter', parent: 'analvids', tags: [ @@ -3827,7 +3866,8 @@ const studios = [ }, { name: 'Sausage Party', - slug: 'sausageparty', + slug: 'analvidssausageparty', + rename: 'sausageparty', url: 'https://www.analvids.com/studios/sausage-party', parent: 'analvids', tags: [ @@ -3836,7 +3876,8 @@ const studios = [ }, { name: 'Black Loads', - slug: 'blackloads', + slug: 'analvidsblackloads', + rename: 'blackloads', url: 'https://www.analvids.com/studios/black-loads', parent: 'analvids', }, @@ -3938,7 +3979,8 @@ const studios = [ }, { name: 'Haze Him', - slug: 'hazehim', + slug: 'analvidshazehim', + rename: 'hazehim', url: 'https://www.analvids.com/studios/haze-him', parent: 'analvids', tags: [ @@ -4030,7 +4072,8 @@ const studios = [ }, { name: 'Sex Busters', - slug: 'sexbusters', + slug: 'analvidssexbusters', + rename: 'sexbusters', url: 'https://www.analvids.com/studios/sex-busters', parent: 'analvids', }, @@ -4043,7 +4086,8 @@ const studios = [ }, { name: 'ExBF', - slug: 'exbf', + slug: 'analvidsexbf', + rename: 'exbf', url: 'https://www.analvids.com/studios/exbf', parent: 'analvids', tags: [ @@ -4357,7 +4401,8 @@ const studios = [ }, { name: 'Girls Gone Wild', - slug: 'girlsgonewild', + slug: 'analvidsgirlsgonewild', + rename: 'girlsgonewild', url: 'https://www.analvids.com/studios/girls-gone-wild', parent: 'analvids', tags: [ @@ -4433,7 +4478,8 @@ const studios = [ }, { name: "Don't Fuck My Daughter", - slug: 'dontfuckmydaughter', + slug: 'analvidsdontfuckmydaughter', + rename: 'dontfuckmydaughter', url: 'https://www.analvids.com/studios/don--t-fuck-my-daughter', parent: 'analvids', }, @@ -4478,7 +4524,8 @@ const studios = [ }, { name: 'Taylor Bow', - slug: 'taylorbow', + slug: 'analvidstaylorbow', + rename: 'taylorbow', url: 'https://www.analvids.com/studios/taylor-bow', parent: 'analvids', }, @@ -5171,7 +5218,8 @@ const studios = [ }, { name: 'Project City Bus', - slug: 'projectcitybus', + slug: 'analvidsprojectcitybus', + rename: 'projectcitybus', url: 'https://www.analvids.com/studios/project-city-bus', parent: 'analvids', tags: [ @@ -5226,7 +5274,8 @@ const studios = [ }, { name: 'Brad Montana', - slug: 'bradmontana', + slug: 'analvidsbradmontana', + rename: 'bradmontana', parent: 'testedefudelidade', showcased: true, }, @@ -5237,6 +5286,12 @@ const studios = [ } : studio)); +studios.forEach((studio) => { + if (channelSlugs.includes(studio.slug)) { + console.log('CONFLICT!', studio.slug); + } +}); + /* eslint-disable max-len */ exports.seed = (knex) => Promise.resolve() .then(async () => {