diff --git a/seeds/02_sites.js b/seeds/02_sites.js index 68824ff0..ba950ae5 100755 --- a/seeds/02_sites.js +++ b/seeds/02_sites.js @@ -18160,6 +18160,15 @@ const sites = [ parameters: { id: 'selects' }, parent: 'teamskeet', }, + { + slug: 'brattamer', + name: 'Brat Tamer', + url: 'https://www.mylf.com/series/brat-tamer', + parent: 'teamskeet', + parameters: { + id: 'brat-tamer', + }, + }, /* TEAM SKEET cross-over */ { slug: 'tshobybuchanon', diff --git a/src/scrapers/teamskeet.js b/src/scrapers/teamskeet.js index 561b6b50..2c2c9a29 100755 --- a/src/scrapers/teamskeet.js +++ b/src/scrapers/teamskeet.js @@ -127,7 +127,7 @@ function scrapeProfile(actor, entity, parameters) { } async function fetchLatest(channel, page = 1, { parameters }) { - const res = await http.get(`https://store2.psmcdn.net/${parameters.endpoint}-videoscontent/_search?q=site.seo.seoSlug:"${parameters.id}"&sort=publishedDate:desc&size=30&from=${(page - 1) * 30}`); + const res = await http.get(`https://tours-store.psmcdn.net/${parameters.endpoint}-videoscontent/_search?q=site.seo.seoSlug:"${parameters.id}"&sort=publishedDate:desc&size=30&from=${(page - 1) * 30}`); if (res.ok) { return scrapeAll(res.body.hits.hits.map(({ _source: scene }) => scene), channel, parameters); @@ -165,7 +165,7 @@ async function fetchScene(url, channel, baseScene, { parameters }) { const res = await http.get(parameters.layout === 'organic' ? `https://store.psmcdn.net/${parameters.endpoint}/moviesContent/${sceneSlug}.json` - : `https://store2.psmcdn.net/${parameters.endpoint}-videoscontent/_doc/${sceneSlug}`); + : `https://tours-store.psmcdn.net/${parameters.endpoint}-videoscontent/_doc/${sceneSlug}`); if (res.ok && res.body.found) { return scrapeScene(res.body._source, channel, parameters); @@ -182,7 +182,7 @@ async function fetchProfile(baseActor, { entity, parameters }) { // const url = format(parameters.profiles, { slug: baseActor.slug }); const url = parameters.layout === 'organic' ? `https://store.psmcdn.net/${parameters.endpoint}/modelsContent/${baseActor.slug}.json` - : `https://store2.psmcdn.net/${parameters.endpoint}-modelscontent/_doc/${baseActor.slug}`; + : `https://tours-store.psmcdn.net/${parameters.endpoint}-modelscontent/_doc/${baseActor.slug}`; const res = await qu.get(url);