We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8edceef + 261b1bc commit f9892c3Copy full SHA for f9892c3
data/numbers.ts
@@ -38,9 +38,12 @@ const data: ScrapeQuery[] = [
38
},
39
{
40
number: 4,
41
- url: "https://imgur.com/upload",
+ url: "https://stackoverflow.com/questions/34001917/queryselectorall-with-multiple-conditions-in-javascript",
42
queryFunction: () => {
43
- return document.querySelector(".PopUpActions-textPicker > input").placeholder.split(" ").length
+ return Array.from(
44
+ document.querySelectorAll(".user-action-time > span.relativetime") )
45
+ .map(x => x.innerText.split(" ")[1]
46
+ ).filter( x => x[0] == 4 )[0][0]
47
}
48
49
0 commit comments