Fix detections caching

main
Elbert Alias 4 years ago
parent 1a605c4171
commit 8b2696ddc7

@ -472,11 +472,11 @@ class Site {
}
}
this.onDetect(url, analyzeJs(js))
this.onDetect(analyzeJs(js))
this.onDetect(
url,
analyze({
url,
cookies,
html,
scripts,
@ -584,7 +584,7 @@ class Site {
await this.batch(links, depth, batch + 1)
}
onDetect(url, detections = [], language) {
onDetect(detections = [], language) {
this.detections = this.detections.concat(detections)
this.detections.filter(

Loading…
Cancel
Save