Added content version table. Marked ElevatedX scraper as deprecated, fixed ExploitedCollegeGirls queries.
This commit is contained in:
@@ -276,11 +276,11 @@ function styles(context, selector, styleAttr) {
|
||||
return elStyles;
|
||||
}
|
||||
|
||||
function number(context, selector, match = /\d+(\.\d*)?/, attr = 'textContent') {
|
||||
function number(context, selector, match = /\d+(\.\d*)?/, attr = 'textContent', matchIndex = 0) {
|
||||
const value = q(context, selector, attr);
|
||||
|
||||
if (value && match) {
|
||||
return Number(value.match(match)?.[0]);
|
||||
return Number(value.match(match)?.[matchIndex]);
|
||||
}
|
||||
|
||||
if (value) {
|
||||
|
||||
Reference in New Issue
Block a user