diff --git a/src/scrapers/kink.js b/src/scrapers/kink.js index 6c4c3839..3a93192b 100755 --- a/src/scrapers/kink.js +++ b/src/scrapers/kink.js @@ -64,7 +64,7 @@ function scrapeAll(scenes, entity) { } async function fetchLatest(channel, page = 1) { - const { tab } = await http.getBrowserSession('kink', { headless: false, useGlobalBrowser: false, useProxy: true }); + const { tab } = await http.getBrowserSession('kink', { useGlobalBrowser: false, useProxy: true }); const url = `${channel.parent.url}/search?type=shoots&channelIds=${channel.parameters?.slug || channel.slug}&sort=published&page=${page}`; const res = await tab.goto(url); const status = res.status(); @@ -149,7 +149,7 @@ function scrapeScene({ query }, url, entity) { } async function fetchScene(url, channel) { - const { tab } = await http.getBrowserSession('kink'); + const { tab } = await http.getBrowserSession('kink', { useGlobalBrowser: false, useProxy: true }); const res = await tab.goto(url); const status = res.status(); @@ -206,7 +206,7 @@ async function scrapeProfile({ query }, actorUrl) { async function fetchProfile({ name: actorName }, entity) { const networkUrl = entity.type === 'channel' ? entity.parent.url : entity.url; - const { tab } = await http.getBrowserSession('kink'); + const { tab } = await http.getBrowserSession('kink', { useGlobalBrowser: false, useProxy: true }); // const searchRes = await tab.goto(`${networkUrl}/search?type=performers&q=${actorName}`); const searchApiRes = await tab.goto(`https://www.kink.com/api/v2/search/suggestions/performers?term=${actorName}`);