Added VogoV (no trailer yet). Fixed MindGeek profile scraper.
This commit is contained in:
@@ -25,6 +25,10 @@ function qall(context, selector, attrArg, trim = true) {
|
||||
return Array.from(context.querySelectorAll(selector));
|
||||
}
|
||||
|
||||
function qmeta(context, selector, attrArg = 'content', trim = true) {
|
||||
return q(context, selector, attrArg, trim);
|
||||
}
|
||||
|
||||
function qdate(context, selector, format, match, attr = 'textContent') {
|
||||
const dateString = context.querySelector(selector)?.[attr];
|
||||
|
||||
@@ -76,6 +80,7 @@ const funcs = {
|
||||
qimages,
|
||||
qposter,
|
||||
qlength,
|
||||
qmeta,
|
||||
qtrailer,
|
||||
qurls,
|
||||
qa: qall,
|
||||
@@ -83,6 +88,7 @@ const funcs = {
|
||||
qi: qimages,
|
||||
qp: qposter,
|
||||
ql: qlength,
|
||||
qm: qmeta,
|
||||
qt: qtrailer,
|
||||
qu: qurls,
|
||||
};
|
||||
@@ -98,6 +104,7 @@ function ctx(element, window) {
|
||||
|
||||
return {
|
||||
element,
|
||||
document: element,
|
||||
...(window && { window }),
|
||||
...contextFuncs,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user