2019-03-25 02:57:33 +00:00
/* eslint-disable max-len */
2019-11-06 01:47:10 +00:00
const upsert = require ( '../src/utils/upsert' ) ;
2020-12-18 22:28:02 +00:00
const grandParentNetworks = [
2020-05-16 02:36:45 +00:00
{
slug : 'gamma' ,
name : 'Gamma Entertainment' ,
url : 'https://www.gammaentertainment.com' ,
2020-10-19 22:21:15 +00:00
alias : [ 'gammaentertainment' ] ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'hush' ,
name : 'Hush' ,
} ,
{
slug : 'mindgeek' ,
name : 'Mind Geek' ,
url : 'https://www.mindgeek.com' ,
description : '' ,
2021-02-10 02:23:48 +00:00
parameters : {
interval : 1000 ,
concurrency : 1 ,
} ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'whalemember' ,
name : 'Whale Member' ,
} ,
2020-07-23 02:29:46 +00:00
{
slug : 'paperstreetmedia' ,
name : 'Paper Street Media' ,
} ,
2020-07-14 01:46:31 +00:00
{
slug : 'porndoe' ,
name : 'PornDoe' ,
} ,
2020-06-27 00:57:30 +00:00
{
slug : 'wgcz' ,
name : 'WGCZ Holding' ,
} ,
2020-02-20 01:35:23 +00:00
] ;
2020-12-18 22:28:02 +00:00
const parentNetworks = [
2020-05-16 02:36:45 +00:00
{
slug : '21sextury' ,
name : '21Sextury' ,
url : 'https://www.21sextury.com' ,
description : 'Watch all the latest scenes and porn video updates on 21Sextury.com, the best European porn site with the hottest pornstars from all over the world! Watch porn videos from the large network here.' ,
parameters : {
2021-01-30 16:43:33 +00:00
layout : 'api' ,
2020-05-16 02:36:45 +00:00
mobile : 'https://m.dpfanatics.com/en/video' ,
} ,
parent : 'gamma' ,
} ,
2021-11-27 22:55:16 +00:00
{
slug : 'radical' ,
alias : [ 'kb productions' ] ,
name : 'Radical Entertainment' ,
url : 'https://radicalcash.com' ,
} ,
2020-12-18 22:28:02 +00:00
] ;
const networks = [
2020-05-16 02:36:45 +00:00
{
slug : '21sextreme' ,
name : '21Sextreme' ,
url : 'https://www.21sextreme.com' ,
description : 'Welcome to 21Sextreme.com, your portal to fisting porn, old and young lesbians, horny grannies & extreme BDSM featuring the best Euro & American Pornstars' ,
parameters : {
2021-01-30 16:43:33 +00:00
layout : 'api' ,
2020-05-16 02:36:45 +00:00
mobile : 'https://m.dpfanatics.com/en/video' ,
} ,
2020-12-18 22:28:02 +00:00
parent : '21sextury' ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : '21naturals' ,
name : '21Naturals' ,
url : 'https://www.21naturals.com' ,
description : 'Welcome to 21Naturals.com, the porn network featuring the hottest pornstars from all over the world in all natural porn and erotic sex videos. Watch thousands of girls with natural tits' ,
parameters : {
2021-01-30 16:43:33 +00:00
layout : 'api' ,
2020-05-16 02:36:45 +00:00
mobile : 'https://m.dpfanatics.com/en/video' ,
} ,
2020-12-18 22:28:02 +00:00
parent : '21sextury' ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'adulttime' ,
name : 'Adult Time' ,
url : 'https://www.adulttime.com' ,
description : 'Adult Time is a premium streaming service for adults! Watch adult movies, series, and channels from the top names in the industry.' ,
parent : 'gamma' ,
2022-10-02 20:49:38 +00:00
parameters : {
layout : 'api' ,
referer : 'https://freetour.adulttime.com/en/join' ,
scene : false ,
} ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'amateurallure' ,
name : 'Amateur Allure' ,
url : 'https://www.amateurallure.com' ,
} ,
2020-07-14 01:46:31 +00:00
{
slug : 'amateureuro' ,
name : 'Amateur Euro' ,
url : 'https://amateureuro.com' ,
parent : 'porndoe' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'assylum' ,
name : 'Assylum' ,
url : 'https://www.assylum.com' ,
description : 'At Assylum, submissive girls get dominated with rough anal sex, ass to mouth, hard BDSM, and sexual humiliation and degradation.' ,
} ,
{
slug : 'aziani' ,
name : 'Aziani' ,
url : 'https://www.aziani.com' ,
} ,
{
slug : 'babes' ,
name : 'Babes' ,
url : 'https://www.babes.com' ,
parent : 'mindgeek' ,
} ,
2021-02-03 01:59:39 +00:00
{
slug : 'badoink' ,
name : 'BaDoink' ,
url : 'http://www.badoink.com' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'bang' ,
name : 'Bang!' ,
url : 'https://bang.com' ,
} ,
{
slug : 'bangbros' ,
name : 'Bang Bros' ,
url : 'https://bangbros.com' ,
description : 'Here at Bang Bros, we only film the best highest quality porn with the sexiest Amateur girls and the top pornstars. Updated daily on Bangbros.com.' ,
2020-06-27 00:57:30 +00:00
parent : 'wgcz' ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'blowpass' ,
name : 'Blowpass' ,
alias : [ 'myxxxpass' ] ,
url : 'https://www.blowpass.com' ,
description : 'Welcome to Blowpass.com, your ultimate source for deepthroat porn, MILF and teen blowjob videos, big cumshots and any and everything oral!' ,
parameters : {
mobile : 'https://m.blowpass.com/en/video/v/%d' , // v can be any string, %d will be scene ID
2021-01-30 00:12:42 +00:00
actorScenes : 'https://www.blowpass.com/en/videos/blowpass/latest/All-Categories/0{path}/{page}' ,
2020-05-16 02:36:45 +00:00
} ,
parent : 'gamma' ,
} ,
{
slug : 'brazzers' ,
name : 'Brazzers' ,
url : 'https://www.brazzers.com' ,
description : 'Brazzers homepage is updated daily with official HD porn scenes. Our hottest videos and sex series are filled with big tits, sexy milf, top pornstars and special events.' ,
2020-06-27 02:50:13 +00:00
parent : 'mindgeek' ,
2020-09-18 01:27:00 +00:00
parameters : {
childSession : true ,
} ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'boobpedia' ,
name : 'Boobpedia' ,
url : 'https://www.boobpedia.com' ,
2020-06-27 00:57:30 +00:00
type : 'info' ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'cherrypimps' ,
name : 'Cherry Pimps' ,
url : 'https://www.cherrypimps.com' ,
description : 'CherryPimps your premium porn site to Download and Stream the hottest and most exclusive 4K HD videos and pictures on your phone, tablet, TV or console.' ,
} ,
2021-08-09 08:31:12 +00:00
{
slug : 'cumlouder' ,
name : 'Cum Louder' ,
url : 'https://www.cumlouder.com' ,
} ,
2020-09-13 22:53:41 +00:00
{
slug : 'czechav' ,
name : 'CzechAV' ,
url : 'https://www.czechav.com' ,
} ,
2020-09-16 02:55:30 +00:00
{
slug : 'dorcel' ,
name : 'Marc Dorcel' ,
url : 'https://www.dorcel.com' ,
} ,
2021-02-14 00:53:03 +00:00
{
slug : 'evilangel' ,
name : 'Evil Angel' ,
url : 'https://www.evilangel.com' ,
description : 'Welcome to the award winning Evil Angel website, home to the most popular pornstars of today, yesterday and tomorrow in their most extreme and hardcore porn scenes to date. We feature almost 30 years of rough sex videos and hardcore anal porn like you\'ve never seen before, and have won countless AVN and XBiz awards including \'Best Site\' and \'Best Studio\'.' ,
parent : 'gamma' ,
parameters : {
layout : 'api' ,
} ,
} ,
2020-07-15 01:24:47 +00:00
{
2021-02-13 03:49:00 +00:00
slug : 'exploitedx' ,
name : 'ExpoitedX' ,
2021-02-14 00:53:03 +00:00
parameters : {
layout : 'tubular' ,
} ,
2020-07-15 01:24:47 +00:00
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'freeones' ,
name : 'FreeOnes' ,
url : 'https://www.freeones.com' ,
2020-06-27 00:57:30 +00:00
type : 'info' ,
2020-05-16 02:36:45 +00:00
} ,
{
2020-07-12 20:36:53 +00:00
slug : 'pornworld' ,
name : 'Porn World' ,
alias : [
'ddf network' ,
'denys defrancesco' ,
] ,
url : 'https://pornworld.com' ,
2020-05-16 02:36:45 +00:00
description : 'European porn videos hub with exclusive VR, 4K and full HD XXX videos and hot sex photos of Europes finest porn star babes.' ,
2020-06-27 00:57:30 +00:00
parent : 'wgcz' ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'digitalplayground' ,
name : 'Digital Playground' ,
url : 'https://www.digitalplayground.com' ,
description : 'DigitalPlayground.com is the leader in high quality adult blockbuster movies and award winning sex parodies that feature the most exclusive pornstars online! Adult Film Database of adult movies.' ,
2021-02-02 23:46:59 +00:00
parameters : {
actorPath : 'modelprofile' ,
2022-03-26 23:27:26 +00:00
forceDeep : true , // Digital Playground has movie and series information not available in the latest updates API
2021-02-02 23:46:59 +00:00
} ,
2020-05-16 02:36:45 +00:00
parent : 'mindgeek' ,
} ,
{
slug : 'dogfartnetwork' ,
name : 'Dogfart Network' ,
url : 'https://dogfartnetwork.com' ,
description : 'The world famous Dogfart Interracial series. Online since 1996, we have the largest collection of Interracial videos, pictures and content on the web.' ,
} ,
{
slug : 'fantasymassage' ,
name : 'Fantasy Massage' ,
url : 'https://www.fantasymassage.com' ,
parameters : {
2022-10-02 20:49:38 +00:00
layout : 'api' ,
2020-05-16 02:36:45 +00:00
} ,
parent : 'gamma' ,
} ,
{
slug : 'famedigital' ,
name : 'Fame Digital' ,
url : 'https://www.famedigital.com' ,
description : 'Watch and download thousands of the best porn videos at FameDigital.com, the largest porn network on the web! The hottest teens, MILFs and more pornstars are all here!' ,
parameters : {
mobile : 'https://m.dpfanatics.com/en/video' ,
} ,
parent : 'gamma' ,
} ,
{
slug : 'fakehub' ,
name : 'Fake Hub' ,
url : 'https://www.fakehub.com' ,
description : 'Wherever they go, there is porn. Hospital, Taxis, Casting… Maybe fucking to a fake cop, fake agent or fake taxi driver. And we record it all.' ,
2021-02-02 23:46:59 +00:00
parameters : {
actorPath : 'modelprofile' ,
} ,
2020-05-16 02:36:45 +00:00
parent : 'mindgeek' ,
} ,
2020-12-02 02:17:32 +00:00
{
slug : 'firstanalquest' ,
name : 'First Anal Quest' ,
url : 'http://www.firstanalquest.com' ,
} ,
2020-07-14 01:46:31 +00:00
{
slug : 'forbondage' ,
name : 'ForBondage' ,
url : 'https://forbondage.com' ,
parent : 'porndoe' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'fullpornnetwork' ,
name : 'Full Porn Network' ,
url : 'https://www.fullpornnetwork.com' ,
description : 'FullPornNetwork.com is the latest and greatest for one stop shop porn sites. Check out the expanding library of the multi-site network. All of fan\'s favorite content from ANALIZED.COM, DTFsluts.com, YourMomDoesPorn.com and many more. Give die hard porn fans access to an array of premium content available in 4k and 1080p. Full access included streaming hd and unlimited downloads. Be exclusive, be a member to FullPornNetwork.com Today.' ,
} ,
2021-01-17 00:43:55 +00:00
{
slug : 'gaywire' ,
name : 'Gaywire' ,
url : 'https://www.gaywire.com' ,
tags : [ 'gay' ] ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'girlsway' ,
name : 'Girlsway' ,
url : 'https://www.girlsway.com' ,
description : 'Girlsway.com has the best lesbian porn videos online! The hottest pornstars & first time lesbians in real girl on girl sex, tribbing, squirting & pussy licking action right HERE!' ,
2021-02-02 21:36:47 +00:00
parameters : {
layout : 'api' ,
} ,
2020-05-16 02:36:45 +00:00
parent : 'gamma' ,
} ,
2020-07-21 02:04:07 +00:00
{
slug : 'hitzefrei' ,
name : 'Hitzefrei' ,
url : 'http://www.hitzefrei.com' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'hussiepass' ,
name : 'Hussie Pass' ,
2020-08-23 01:31:37 +00:00
url : 'https://www.hussiepass.com' ,
2020-05-16 02:36:45 +00:00
parent : 'hush' ,
} ,
{
slug : 'hushpass' ,
name : 'Hush Pass' ,
2020-08-23 01:31:37 +00:00
url : 'https://www.hushpass.com' ,
2020-05-16 02:36:45 +00:00
parent : 'hush' ,
parameters : {
2020-08-23 01:31:37 +00:00
t1 : true ,
2020-05-16 02:36:45 +00:00
sequential : true ,
} ,
} ,
{
slug : 'interracialpass' ,
name : 'Interracial Pass' ,
2020-08-23 01:31:37 +00:00
url : 'https://www.interracialpass.com' ,
2020-05-16 02:36:45 +00:00
parent : 'hush' ,
parameters : {
2020-08-23 01:31:37 +00:00
t1 : true ,
2020-05-16 02:36:45 +00:00
sequential : true ,
} ,
} ,
{
slug : 'insex' ,
name : 'Insex' ,
description : 'The original bondage and BDSM transgression.' ,
url : 'http://www.insex.com' ,
} ,
{
slug : 'jayrock' ,
name : 'JayRock Productions' ,
url : 'http://jayrockcontent.com' ,
parent : 'gamma' ,
} ,
{
slug : 'julesjordan' ,
name : 'Jules Jordan' ,
url : 'https://www.julesjordan.com' ,
} ,
2021-01-13 20:29:05 +00:00
{
slug : 'karups' ,
name : 'Karups' ,
url : 'https://www.karups.com' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'kellymadison' ,
name : 'Kelly Madison Media' ,
url : 'https://www.kellymadison.com' ,
description : 'Home of Kelly Madison and Ryan Madison' ,
} ,
2020-07-09 02:31:27 +00:00
{
slug : 'killergram' ,
name : 'Killergram' ,
url : 'http://www.killergram.com' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'kink' ,
name : 'Kink' ,
url : 'https://www.kink.com' ,
description : 'Authentic Bondage & Real BDSM Porn Videos. Demystifying and celebrating alternative sexuality by providing the most authentic kinky videos. Experience the other side of porn.' ,
2022-04-10 19:51:22 +00:00
parameters : {
interval : 1000 ,
concurrency : 1 ,
} ,
2020-05-16 02:36:45 +00:00
} ,
2020-07-13 01:51:17 +00:00
{
slug : 'letsdoeit' ,
name : 'LetsDoeIt' ,
url : 'https://letsdoeit.com' ,
2020-07-14 01:46:31 +00:00
parent : 'porndoe' ,
} ,
2020-11-24 03:29:44 +00:00
{
slug : 'littlecapricedreams' ,
name : 'Little Caprice Dreams' ,
url : 'https://www.littlecaprice-dreams.com' ,
} ,
2022-10-25 21:13:24 +00:00
{
slug : 'loveherfilms' ,
name : 'Love Her Films' ,
url : 'https://www.loveherfilms.com' ,
} ,
2020-07-14 01:46:31 +00:00
{
slug : 'mamacitaz' ,
name : 'Mamacitaz' ,
url : 'https://mamacitaz.com' ,
parent : 'porndoe' ,
2020-07-13 01:51:17 +00:00
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'men' ,
name : 'Men' ,
url : 'https://www.men.com' ,
description : 'Check out the best gay porn site on the net with daily updates, award-winning original series, exclusive Men.com models and over 800 of the hottest guys in gay porn.' ,
2021-02-02 23:46:59 +00:00
parameters : {
actorPath : 'modelprofile' ,
} ,
2020-05-16 02:36:45 +00:00
parent : 'mindgeek' ,
} ,
{
slug : 'metrohd' ,
name : 'Metro HD' ,
url : 'https://www.metrohd.com' ,
description : 'Checkout MetroHD official pornsite featuring top rated pornstars and XXX videos.' ,
parent : 'mindgeek' ,
} ,
{
slug : 'mikeadriano' ,
name : 'Mike Adriano' ,
2020-07-16 01:47:07 +00:00
url : 'https://www.mikeadriano.com' ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'milehighmedia' ,
name : 'Mile High Media' ,
url : 'https://www.milehighmedia.com' ,
description : 'MileHighMedia.com is the only niche porn network you need! Watch lesbian sex, hardcore fucking and family porn stories with the hottest teens & MILFs!' ,
parent : 'mindgeek' ,
2022-03-29 21:24:55 +00:00
parameters : {
forceDeep : true , // Mile High Media has movie and series information not available in the latest updates API
} ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'mofos' ,
name : 'MOFOS' ,
url : 'https://www.mofos.com' ,
description : 'Check out the Official Mofos Network of best amateur pornsites. Girlfriend – voyeur - college girls - first anal & more. Bonus Milf sites for wifey lovers.' ,
parent : 'mindgeek' ,
} ,
2021-03-29 20:22:56 +00:00
{
slug : 'mylf' ,
name : 'MYLF' ,
tags : [ 'milf' ] ,
url : 'https://www.mylf.com' ,
parent : 'paperstreetmedia' ,
parameters : {
videos : 'https://store2.psmcdn.net/mylf-elastic-hka5k7vyuw-videoscontent/_doc' ,
profiles : 'https://store2.psmcdn.net/mylf-elastic-hka5k7vyuw-modelscontent/_doc/{slug}' ,
avatars : 'https://images.mylfcdn.net/tsv4/model/profiles' ,
} ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'naughtyamerica' ,
name : 'Naughty America' ,
url : 'https://www.naughtyamerica.com' ,
description : 'The best porn movies daily at Naughty America! Experience the most seductive porn stars in stunning virtual reality, 4K and HD porn videos!' ,
} ,
2021-02-14 00:53:03 +00:00
{
slug : 'nebraskacoeds' ,
name : 'Nebraska Coeds' ,
url : 'https://nebraskacoeds.com' ,
parameters : {
layout : 'classic' ,
} ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'newsensations' ,
name : 'New Sensations' ,
url : 'https://www.newsensations.com' ,
description : 'Home to multiple award-winning studios New Sensations & Digital Sin with over 7,000 HQ porn movies! Take the free tour now!' ,
} ,
{
slug : 'nubiles' ,
name : 'Nubiles' ,
url : 'https://www.nubiles.com' ,
description : 'Welcome to the teen megasite that started it all! Browse our massive HD collection of fresh legal hotties at Nubiles.net.' ,
} ,
{
slug : 'perfectgonzo' ,
name : 'Perfect Gonzo' ,
url : 'https://www.perfectgonzo.com' ,
description : '' ,
} ,
{
slug : 'pervcity' ,
name : 'Perv City' ,
url : 'https://www.pervcity.com' ,
2021-06-13 14:49:27 +00:00
parameters : {
networkEntryIds : true ,
} ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'pimpxxx' ,
name : 'Pimp.XXX' ,
url : 'https://www.pimp.xxx' ,
description : 'PIMP.XXX is the NEWEST and HOTTEST site featuring Exclusive Ultra High Definition 4k videos updated daily! Featuring the newest and the biggest pornstars with Big Tits, Tight Asses, and more!' ,
} ,
2020-07-22 02:12:20 +00:00
{
slug : 'porncz' ,
name : 'PornCZ' ,
url : 'https://www.porncz.com' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : '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.' ,
parent : 'whalemember' ,
} ,
{
slug : 'private' ,
name : 'Private' ,
url : 'https://www.private.com' ,
description : 'Private is the best source for adult movies and videos. Featuring the most popular hardcore adult stars in hundreds of porn movies, Private.com delivers...' ,
2020-06-27 00:57:30 +00:00
parent : 'wgcz' ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'puretaboo' ,
name : 'Pure Taboo' ,
url : 'https://www.puretaboo.com' ,
description : 'PureTaboo.com is the ultimate site for family taboo porn, featuring submissive teens & virgins in rough sex videos in ultra 4k HD.' ,
2022-10-05 20:01:27 +00:00
parent : 'gamma' ,
2021-02-02 21:36:47 +00:00
parameters : {
layout : 'api' ,
2022-10-05 20:01:27 +00:00
scene : 'https://www.puretaboo.com/en/video' ,
referer : 'https://www.puretaboo.com' ,
2021-02-02 21:36:47 +00:00
} ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'realitykings' ,
name : 'Reality Kings' ,
url : 'https://www.realitykings.com' ,
description : 'Home of HD reality porn featuring the nicest tits and ass online! The hottest curvy girls in real amateur sex stories are only on REALITYkings.com' ,
parent : 'mindgeek' ,
2022-02-11 21:14:44 +00:00
parameters : {
childSession : true ,
parentSession : false ,
} ,
2020-05-16 02:36:45 +00:00
} ,
{
slug : 'score' ,
name : 'SCORE' ,
url : 'https://www.scorepass.com' ,
description : '' ,
} ,
{
slug : 'sexyhub' ,
name : 'Sexy Hub' ,
url : 'https://www.sexyhub.com' ,
parent : 'mindgeek' ,
} ,
2021-09-12 23:29:39 +00:00
{
slug : 'spizoo' ,
name : 'Spizoo' ,
url : 'http://www.spizoo.com' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'teamskeet' ,
name : 'Team Skeet' ,
url : 'https://www.teamskeet.com' ,
description : 'Welcome to teamskeet.com, the largest collection of exclusive teen porn sites and videos on the web. Check out our TeamSkeet porn sites now.' ,
2020-07-23 02:29:46 +00:00
parent : 'paperstreetmedia' ,
2021-03-29 20:22:56 +00:00
parameters : {
videos : 'https://store2.psmcdn.net/ts-elastic-d5cat0jl5o-videoscontent' ,
profiles : 'https://store.psmcdn.net/ts-organic-iiiokv9kyo/modelsContent/{slug}.json' ,
avatars : 'https://images.mylfcdn.net/tsv4/model/profiles' ,
} ,
2020-05-16 02:36:45 +00:00
} ,
2020-06-08 01:41:12 +00:00
{
slug : 'teencoreclub' ,
2020-07-03 02:12:56 +00:00
name : 'Teen Core Club' ,
url : 'https://teencoreclub.com' ,
2020-06-08 01:41:12 +00:00
} ,
2021-09-17 01:30:49 +00:00
{
slug : 'teenmegaworld' ,
name : 'TeenMegaWorld' ,
url : 'https://teenmegaworld.net' ,
} ,
2021-01-14 00:37:50 +00:00
{
slug : 'topwebmodels' ,
name : 'Top Web Models' ,
url : 'https://tour.topwebmodels.com' ,
2021-11-27 22:55:16 +00:00
parent : 'radical' ,
2021-01-15 03:04:32 +00:00
parameters : {
apiKey : '5b637cd8c4bc59cd13686f1c38dcb780' ,
} ,
2021-01-14 00:37:50 +00:00
} ,
2020-07-14 01:46:31 +00:00
{
slug : 'transbella' ,
name : 'Trans Bella' ,
url : 'https://transbella.com' ,
tags : [ 'transsexual' ] ,
parent : 'porndoe' ,
} ,
2020-10-26 00:42:38 +00:00
{
slug : 'traxxx' ,
name : 'traxxx' ,
url : 'https://traxxx.me' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'twistys' ,
name : 'Twistys' ,
url : 'https://www.twistys.com' ,
description : 'The hottest high quality glamour porn for over 18 years! Over 3700+ models and 46000+ scenes. TWISTYS.com' ,
parent : 'mindgeek' ,
} ,
2020-07-14 01:46:31 +00:00
{
slug : 'vipsexvault' ,
name : 'VIP Sex Vault' ,
url : 'https://vipsexvault.com' ,
parent : 'porndoe' ,
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'vivid' ,
name : 'Vivid' ,
url : 'https://www.vivid.com' ,
description : 'Home of the Kim Kardashian Sex Tape, Porn Parodies, and over 30,000 XXX Movies from The World Leader In Adult Entertainment.' ,
parent : 'gamma' ,
} ,
{
slug : 'vixen' ,
name : 'Vixen' ,
url : 'https://www.vixen.com' ,
description : 'Vixen.com features the world’ s finest cinematic adult films with 4K quality and high-end erotic photography.' ,
} ,
2021-02-04 00:13:02 +00:00
{
slug : 'wankzvr' ,
name : 'WankzVR' ,
url : 'https://www.wankzvr.com' ,
} ,
2021-01-24 22:31:28 +00:00
{
slug : 'pierrewoodman' ,
name : 'Pierre Woodman' ,
2021-01-24 23:10:57 +00:00
url : 'http://www.woodmancastingx.com' ,
2021-01-24 22:31:28 +00:00
} ,
2020-05-16 02:36:45 +00:00
{
slug : 'xempire' ,
name : 'XEmpire' ,
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!' ,
2021-02-02 21:36:47 +00:00
parameters : {
2022-05-15 21:28:56 +00:00
layout : 'api' ,
2021-02-02 21:36:47 +00:00
actorScenes : 'https://www.xempire.com/en/videos/xempire/latest/{page}/All-Categories/0{actorPath}' ,
2022-05-15 21:28:56 +00:00
sceneMovies : false ,
2021-02-02 21:36:47 +00:00
} ,
2020-05-16 02:36:45 +00:00
parent : 'gamma' ,
} ,
2020-09-04 01:07:28 +00:00
{
slug : 'zerotolerance' ,
name : 'Zero Tolerance' ,
alias : [ 'ztod' ] ,
url : 'http://www.ztod.com' ,
2021-02-02 21:36:47 +00:00
parameters : {
layout : 'api' ,
} ,
2020-09-04 01:07:28 +00:00
parent : 'gamma' ,
} ,
2019-11-06 01:47:10 +00:00
] ;
2021-11-27 22:55:16 +00:00
exports . seed = ( knex ) => Promise . resolve ( )
2020-05-16 02:36:45 +00:00
. then ( async ( ) => {
2021-11-27 22:55:16 +00:00
const grandParentNetworkEntries = await upsert ( 'entities' , grandParentNetworks . map ( ( network ) => ( { ... network , type : 'network' } ) ) , [ 'slug' , 'type' ] , knex ) ;
2020-12-18 22:28:02 +00:00
const grandParentNetworksBySlug = [ ] . concat ( grandParentNetworkEntries . inserted , grandParentNetworkEntries . updated ) . reduce ( ( acc , network ) => ( { ... acc , [ network . slug ] : network . id } ) , { } ) ;
2021-11-27 22:55:16 +00:00
const parentNetworksWithGrandParent = parentNetworks . map ( ( network ) => ( {
2020-12-18 22:28:02 +00:00
slug : network . slug ,
name : network . name ,
type : network . type || 'network' ,
alias : network . alias ,
url : network . url ,
description : network . description ,
parameters : network . parameters ,
parent _id : grandParentNetworksBySlug [ network . parent ] || null ,
} ) ) ;
const parentNetworkEntries = await upsert ( 'entities' , parentNetworksWithGrandParent , [ 'slug' , 'type' ] , knex ) ;
2020-11-26 02:13:43 +00:00
const parentNetworksBySlug = [ ] . concat ( parentNetworkEntries . inserted , parentNetworkEntries . updated ) . reduce ( ( acc , network ) => ( { ... acc , [ network . slug ] : network . id } ) , { } ) ;
2020-02-20 01:35:23 +00:00
2021-11-27 22:55:16 +00:00
const networksWithParent = networks . map ( ( network ) => ( {
2020-05-16 02:36:45 +00:00
slug : network . slug ,
name : network . name ,
2020-06-27 00:57:30 +00:00
type : network . type || 'network' ,
2020-07-12 20:36:53 +00:00
alias : network . alias ,
2020-05-16 02:36:45 +00:00
url : network . url ,
description : network . description ,
parameters : network . parameters ,
2021-01-05 15:27:20 +00:00
parent _id : parentNetworksBySlug [ network . parent ] || grandParentNetworksBySlug [ network . parent ] || null ,
2020-05-16 02:36:45 +00:00
} ) ) ;
2020-02-20 01:35:23 +00:00
2020-11-26 02:13:43 +00:00
const networkEntries = await upsert ( 'entities' , networksWithParent , [ 'slug' , 'type' ] , knex ) ;
2020-12-18 22:28:02 +00:00
const networkIdsBySlug = [ ] . concat (
grandParentNetworkEntries . inserted ,
grandParentNetworkEntries . updated ,
parentNetworkEntries . inserted ,
parentNetworkEntries . updated ,
networkEntries . inserted ,
networkEntries . updated ,
) . reduce ( ( acc , network ) => ( { ... acc , [ network . slug ] : network . id } ) , { } ) ;
2021-11-27 22:55:16 +00:00
const tagSlugs = networks . map ( ( network ) => network . tags ) . flat ( ) . filter ( Boolean ) ;
2020-11-26 02:13:43 +00:00
const tagEntries = await knex ( 'tags' ) . whereIn ( 'slug' , tagSlugs ) ;
const tagIdsBySlug = tagEntries . reduce ( ( acc , tag ) => ( { ... acc , [ tag . slug ] : tag . id } ) , { } ) ;
const tagAssociations = networks
2021-11-27 22:55:16 +00:00
. map ( ( network ) => ( network . tags
? network . tags . map ( ( tagSlug ) => ( {
2020-11-26 02:13:43 +00:00
entity _id : networkIdsBySlug [ network . slug ] ,
tag _id : tagIdsBySlug [ tagSlug ] ,
inherit : true ,
} ) )
: [ ] ) )
. flat ( ) ;
await upsert ( 'entities_tags' , tagAssociations , [ 'entity_id' , 'tag_id' ] , knex ) ;
2020-05-16 02:36:45 +00:00
} ) ;