Removed superfluous Gamma scrapers.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const { fetchApiLatest, fetchApiUpcoming, fetchScene, fetchApiProfile } = require('./gamma');
|
||||
|
||||
module.exports = {
|
||||
fetchLatest: fetchApiLatest,
|
||||
fetchProfile: fetchApiProfile,
|
||||
fetchScene,
|
||||
fetchUpcoming: fetchApiUpcoming,
|
||||
};
|
||||
@@ -1,10 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const { fetchApiLatest, fetchApiUpcoming, fetchScene } = require('./gamma');
|
||||
|
||||
|
||||
module.exports = {
|
||||
fetchLatest: fetchApiLatest,
|
||||
fetchScene,
|
||||
fetchUpcoming: fetchApiUpcoming,
|
||||
};
|
||||
@@ -178,10 +178,6 @@ async function fetchLatestApi(channel, page = 1) {
|
||||
}
|
||||
|
||||
async function fetchLatest(channel, page = 1, options, preData) {
|
||||
if (channel.parameters?.useApi) {
|
||||
return fetchLatestApi(channel, page, options, preData);
|
||||
}
|
||||
|
||||
if (channel.parameters?.useGamma) {
|
||||
return fetchApiLatest(channel, page, preData, options, false);
|
||||
}
|
||||
@@ -211,10 +207,6 @@ async function fetchSceneApi(url, channel, baseRelease) {
|
||||
}
|
||||
|
||||
async function fetchScene(url, channel) {
|
||||
if (channel.parameters?.useApi) {
|
||||
return fetchSceneApi(url, channel);
|
||||
}
|
||||
|
||||
const res = await qu.get(url);
|
||||
|
||||
if (res.ok) {
|
||||
@@ -227,4 +219,8 @@ async function fetchScene(url, channel) {
|
||||
module.exports = {
|
||||
fetchLatest,
|
||||
fetchScene,
|
||||
api: {
|
||||
fetchLatest: fetchLatestApi,
|
||||
fetchScene: fetchSceneApi,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const { fetchApiLatest, fetchApiUpcoming, fetchScene } = require('./gamma');
|
||||
|
||||
module.exports = {
|
||||
fetchLatest: fetchApiLatest,
|
||||
fetchScene,
|
||||
fetchUpcoming: fetchApiUpcoming,
|
||||
};
|
||||
@@ -10,7 +10,6 @@ const bamvisions = require('./bamvisions');
|
||||
const bang = require('./bang');
|
||||
const bangbros = require('./bangbros');
|
||||
const blowpass = require('./blowpass');
|
||||
const burningangel = require('./burningangel');
|
||||
const cherrypimps = require('./cherrypimps');
|
||||
const czechav = require('./czechav');
|
||||
const ddfnetwork = require('./ddfnetwork');
|
||||
@@ -24,7 +23,6 @@ const firstanalquest = require('./firstanalquest');
|
||||
const fcuk = require('./fcuk');
|
||||
const fullpornnetwork = require('./fullpornnetwork');
|
||||
const gamma = require('./gamma');
|
||||
const girlsway = require('./girlsway');
|
||||
const hitzefrei = require('./hitzefrei');
|
||||
const hookuphotshot = require('./hookuphotshot');
|
||||
const hush = require('./hush');
|
||||
@@ -58,7 +56,6 @@ const pascalssubsluts = require('./pascalssubsluts'); // reserved keyword
|
||||
const pierrewoodman = require('./pierrewoodman');
|
||||
const pinkyxxx = require('./pinkyxxx');
|
||||
const privateNetwork = require('./private'); // reserved keyword
|
||||
const puretaboo = require('./puretaboo');
|
||||
const realitykings = require('./realitykings');
|
||||
const score = require('./score');
|
||||
const teamskeet = require('./teamskeet');
|
||||
@@ -71,9 +68,7 @@ const vivid = require('./vivid');
|
||||
const vixen = require('./vixen');
|
||||
const vogov = require('./vogov');
|
||||
const whalemember = require('./whalemember');
|
||||
const wicked = require('./wicked');
|
||||
const xempire = require('./xempire');
|
||||
const zerotolerance = require('./zerotolerance');
|
||||
|
||||
// profiles
|
||||
const boobpedia = require('./boobpedia');
|
||||
@@ -94,7 +89,6 @@ const scrapers = {
|
||||
bangbros,
|
||||
blowpass,
|
||||
brazzers: mindgeek,
|
||||
burningangel,
|
||||
cherrypimps,
|
||||
czechav,
|
||||
pornworld: ddfnetwork,
|
||||
@@ -111,7 +105,6 @@ const scrapers = {
|
||||
fullpornnetwork,
|
||||
gamma,
|
||||
gaywire: bangbros,
|
||||
girlsway,
|
||||
girlgirl: julesjordan,
|
||||
hitzefrei,
|
||||
hookuphotshot,
|
||||
@@ -149,7 +142,6 @@ const scrapers = {
|
||||
porncz,
|
||||
pornpros: whalemember,
|
||||
private: privateNetwork,
|
||||
puretaboo,
|
||||
realitykings,
|
||||
score,
|
||||
sexyhub: mindgeek,
|
||||
@@ -165,9 +157,7 @@ const scrapers = {
|
||||
vixen,
|
||||
vogov,
|
||||
whalemember,
|
||||
wicked,
|
||||
xempire,
|
||||
zerotolerance,
|
||||
},
|
||||
actors: {
|
||||
'21sextury': gamma,
|
||||
@@ -190,7 +180,7 @@ const scrapers = {
|
||||
boobpedia,
|
||||
brattysis: nubiles,
|
||||
brazzers: mindgeek,
|
||||
burningangel,
|
||||
burningangel: gamma,
|
||||
cherrypimps,
|
||||
pornworld: ddfnetwork,
|
||||
deeper: vixen,
|
||||
@@ -277,7 +267,7 @@ const scrapers = {
|
||||
twistys,
|
||||
vipsexvault: porndoe,
|
||||
vixen,
|
||||
wicked,
|
||||
wicked: gamma,
|
||||
wildoncam: cherrypimps,
|
||||
xempire,
|
||||
},
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const { fetchApiLatest, fetchApiUpcoming, fetchScene, fetchApiProfile } = require('./gamma');
|
||||
|
||||
module.exports = {
|
||||
fetchLatest: fetchApiLatest,
|
||||
fetchProfile: fetchApiProfile,
|
||||
fetchScene,
|
||||
fetchUpcoming: fetchApiUpcoming,
|
||||
};
|
||||
@@ -18,17 +18,9 @@ async function fetchScene(url, site, baseRelease, options) {
|
||||
return release;
|
||||
}
|
||||
|
||||
function getActorReleasesUrl(actorPath, page = 1) {
|
||||
return `https://www.xempire.com/en/videos/xempire/latest/${page}/All-Categories/0${actorPath}`;
|
||||
}
|
||||
|
||||
async function networkFetchProfile(baseActor, context, include) {
|
||||
return fetchProfile(baseActor, context, null, getActorReleasesUrl, include);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
fetchLatest,
|
||||
fetchProfile: networkFetchProfile,
|
||||
fetchProfile,
|
||||
fetchUpcoming,
|
||||
fetchScene,
|
||||
};
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const { fetchApiLatest, fetchApiUpcoming, fetchScene, fetchApiProfile } = require('./gamma');
|
||||
|
||||
module.exports = {
|
||||
fetchLatest: fetchApiLatest,
|
||||
fetchProfile: fetchApiProfile,
|
||||
fetchScene,
|
||||
fetchUpcoming: fetchApiUpcoming,
|
||||
};
|
||||
Reference in New Issue
Block a user