fix stupid bug
This commit is contained in:
parent
20f739177c
commit
cb6b292bf6
1 changed files with 1 additions and 1 deletions
2
site.js
2
site.js
|
@ -46,7 +46,7 @@ async function urlCollector(url, path, file, useLimit, data2) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (let g of greylist) {
|
for (let g of greylist) {
|
||||||
if (h2.toString().includes(g)) return;
|
if (h2.toString().includes(g) && g != '') return;
|
||||||
}
|
}
|
||||||
if (blacklist.indexOf(h2.toString()) != -1) return;
|
if (blacklist.indexOf(h2.toString()) != -1) return;
|
||||||
urls.push(h2.toString());
|
urls.push(h2.toString());
|
||||||
|
|
Loading…
Reference in a new issue