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

@@ -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 {