diff --git a/seeds/02_sites.js b/seeds/02_sites.js index a50a8d1f..180efdac 100755 --- a/seeds/02_sites.js +++ b/seeds/02_sites.js @@ -6138,7 +6138,7 @@ const sites = [ slug: 'privatecollection', rename: 'karupsprivatecollection', alias: ['kpc'], - url: 'https://www.karups.com/site/kpc', + url: 'https://www.karups.com/site/kpc/', // trailing slash required parent: 'karups', }, { @@ -6146,7 +6146,7 @@ const sites = [ slug: 'hometownamateurs', rename: 'karupshometownamateurs', alias: ['kha'], - url: 'https://www.karups.com/site/kha', + url: 'https://www.karups.com/site/kha/', parent: 'karups', }, { @@ -6154,7 +6154,7 @@ const sites = [ slug: 'olderwomen', rename: 'karupsolderwomen', alias: ['kow'], - url: 'https://www.karups.com/site/kow', + url: 'https://www.karups.com/site/kow/', parent: 'karups', }, { diff --git a/src/scrapers/karups.js b/src/scrapers/karups.js index 438ef472..07c12e06 100755 --- a/src/scrapers/karups.js +++ b/src/scrapers/karups.js @@ -36,7 +36,7 @@ function scrapeAll(scenes) { } async function fetchLatest(channel, page) { - const res = await unprint.get(`${channel.url}/videos/page${page}.html`, { + const res = await unprint.get(`${channel.url}videos/page${page}.html`, { selectAll: '.listing-videos .item', cookies: { warningHidden: 'hide',