Using browser for Nubiles, added She's Breeding Material.
This commit is contained in:
@@ -9437,9 +9437,9 @@ const sites = [
|
|||||||
parent: 'nubiles',
|
parent: 'nubiles',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
slug: 'caughtmycoach',
|
slug: 'shesbreedingmaterial',
|
||||||
name: 'Caught My Coach',
|
name: 'She\'s Breeding Material',
|
||||||
url: 'https://caughtmycoach.com',
|
url: 'https://shesbreedingmaterial.com',
|
||||||
parent: 'nubiles',
|
parent: 'nubiles',
|
||||||
},
|
},
|
||||||
// PASCALS SUBSLUTS
|
// PASCALS SUBSLUTS
|
||||||
|
|||||||
@@ -70,8 +70,7 @@ function scrapeAll(scenes, entity) {
|
|||||||
async function fetchLatest(site, page = 1) {
|
async function fetchLatest(site, page = 1) {
|
||||||
const url = `${site.url}/video/gallery/${(page - 1) * 12}`; // /0 redirects back to /
|
const url = `${site.url}/video/gallery/${(page - 1) * 12}`; // /0 redirects back to /
|
||||||
|
|
||||||
const res = await unprint.get(url, {
|
const res = await unprint.browser(url, {
|
||||||
interface: 'request',
|
|
||||||
selectAll: '.content-grid-item',
|
selectAll: '.content-grid-item',
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -86,9 +85,8 @@ async function fetchUpcoming(site) {
|
|||||||
if (site.parameters?.upcoming) {
|
if (site.parameters?.upcoming) {
|
||||||
const url = `${site.url}/video/upcoming`;
|
const url = `${site.url}/video/upcoming`;
|
||||||
|
|
||||||
const res = await unprint.get(url, {
|
const res = await unprint.browser(url, {
|
||||||
selectAll: '.content-grid-item',
|
selectAll: '.content-grid-item',
|
||||||
interface: 'request',
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
@@ -139,9 +137,7 @@ async function scrapeScene({ query }, { url, entity, include }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function fetchScene(url, entity, _baseRelease, include) {
|
async function fetchScene(url, entity, _baseRelease, include) {
|
||||||
const res = await unprint.get(url, {
|
const res = await unprint.browser(url);
|
||||||
interface: 'request',
|
|
||||||
});
|
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
return scrapeScene(res.context, { url, entity, include });
|
return scrapeScene(res.context, { url, entity, include });
|
||||||
@@ -185,9 +181,7 @@ async function findModel(actor, entity) {
|
|||||||
|
|
||||||
const url = `${origin}/model/alpha/${firstLetter}`;
|
const url = `${origin}/model/alpha/${firstLetter}`;
|
||||||
|
|
||||||
const resModels = await unprint.get(url, {
|
const resModels = await unprint.browser(url);
|
||||||
interface: 'request',
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!resModels.ok) {
|
if (!resModels.ok) {
|
||||||
return resModels.status;
|
return resModels.status;
|
||||||
@@ -217,9 +211,7 @@ async function fetchProfile(actor, { entity }) {
|
|||||||
const model = await findModel(actor, entity);
|
const model = await findModel(actor, entity);
|
||||||
|
|
||||||
if (model) {
|
if (model) {
|
||||||
const resModel = await unprint.get(model.url, {
|
const resModel = await unprint.browser(model.url);
|
||||||
interface: 'request',
|
|
||||||
});
|
|
||||||
|
|
||||||
if (resModel.ok) {
|
if (resModel.ok) {
|
||||||
return scrapeProfile(resModel.context, model.avatar);
|
return scrapeProfile(resModel.context, model.avatar);
|
||||||
|
|||||||
Reference in New Issue
Block a user