feat: refactor and i18n

This commit is contained in:
Zamitto
2025-03-10 20:29:12 -03:00
parent 1aa3bb1ad2
commit 6a8da74bcf
6 changed files with 10 additions and 14 deletions

View File

@@ -18,10 +18,7 @@ export class DatanodesApi {
const pathSegments = parsedUrl.pathname.split("/").filter(Boolean);
const fileCode = pathSegments[0];
await this.jar.setCookie(
"lang=english;",
"https://datanodes.to"
);
await this.jar.setCookie("lang=english;", "https://datanodes.to");
const payload = new URLSearchParams({
op: "download2",