Added content version table. Marked ElevatedX scraper as deprecated, fixed ExploitedCollegeGirls queries.

This commit is contained in:
DebaucheryLibrarian
2024-09-08 03:09:44 +02:00
parent cab1823f81
commit 6e1c4a9de8
3 changed files with 48 additions and 4 deletions

View File

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