Added Mile High Media scraper.

This commit is contained in:
2020-01-16 21:56:33 +01:00
parent 22d8dda792
commit 4074a5bb64
13 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
'use strict';
const { fetchScene, fetchLatest } = require('./mindgeek');
module.exports = {
fetchLatest,
fetchScene,
};

View File

@@ -13,6 +13,7 @@ const fakehub = require('./fakehub');
const jayrock = require('./jayrock');
const kink = require('./kink');
const mikeadriano = require('./mikeadriano');
const milehighmedia = require('./milehighmedia');
const mofos = require('./mofos');
const perfectgonzo = require('./perfectgonzo');
const pervcity = require('./pervcity');
@@ -56,6 +57,7 @@ module.exports = {
kink,
legalporno,
mikeadriano,
milehighmedia,
mofos,
perfectgonzo,
pervcity,

View File

@@ -80,7 +80,7 @@ const funcs = {
};
function ctx(element) {
const contextFuncs = Object.entries(funcs)
const contextFuncs = Object.entries(funcs) // dynamically attach methods with context
.reduce((acc, [key, func]) => ({ ...acc, [key]: (...args) => func(element, ...args) }), {});
return {