mirror of
https://git.coom.tech/fuckjannies/lolipiss.git
synced 2024-06-27 05:02:35 +00:00
Ackshually use the blacklist
This commit is contained in:
parent
b122f8250c
commit
0befe32d2d
|
@ -99,7 +99,7 @@ const findFileFrom = async (b: Booru, hex: string) => {
|
|||
const res = await GM_fetch(`https://${b.domain}${b.endpoint}${hex}`);
|
||||
// might throw because some endpoint respond with invalid json when an error occurs
|
||||
const pres = await res.json();
|
||||
const tran = b.quirks(pres);
|
||||
const tran = b.quirks(pres).filter(e => !e.tags.some(e => black.has(e)));
|
||||
cache[hex] = tran;
|
||||
return tran;
|
||||
} catch {
|
||||
|
|
Loading…
Reference in New Issue
Block a user