feat: integrate xml-parser for API response handling and enhance data retrieval methods

This commit is contained in:
fzzinchemical
2025-03-28 16:14:49 +01:00
parent 0d62cbc8c7
commit f55b5579ad
4 changed files with 182 additions and 90 deletions

View File

@@ -1,8 +1,8 @@
import { assert } from "jsr:@std/assert";
import { dropRule, refresh } from "@root/plugins/rule34/api.ts";
// import { assert } from "jsr:@std/assert";
// import { dropRule, refresh } from "@root/plugins/rule34/api.ts";
Deno.test("Test Drop", async () => {
await refresh();
const link = await dropRule();
assert(link !== "", "Empty String was dropped!");
});
// Deno.test("Test Drop", async () => {
// await refresh();
// const link = await dropRule();
// assert(link !== "", "Empty String was dropped!");
// });