From 8dabb7870ebc4bec146ebf7ec2f948cd2e1b228a Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Tue, 17 Mar 2026 22:16:14 +0800 Subject: feat: update geodata. --- deno/tools/geosite.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'deno/tools/geosite.ts') diff --git a/deno/tools/geosite.ts b/deno/tools/geosite.ts index 3aabec2..5e66960 100644 --- a/deno/tools/geosite.ts +++ b/deno/tools/geosite.ts @@ -12,6 +12,7 @@ const SITES = [ "reddit", "twitch", "quora", + "medium", "telegram", "imgur", "stackexchange", @@ -20,6 +21,7 @@ const SITES = [ "wikimedia", "gitbook", "gitlab", + "anthropic", "creativecommons", "archive", "matrix", @@ -153,8 +155,8 @@ if (import.meta.main) { const [has, notHas] = toNewFormat(rules, ATTR); const resultDir = tmpDir + "/result"; Deno.mkdirSync(resultDir); - const hasFile = resultDir + "/has-rule"; - const notHasFile = resultDir + "/not-has-rule"; + const hasFile = resultDir + "/has-rule.txt"; + const notHasFile = resultDir + "/not-has-rule.txt"; console.log("Write result to: " + hasFile + " , " + notHasFile); Deno.writeTextFileSync(hasFile, has); Deno.writeTextFileSync(notHasFile, notHas); -- cgit v1.2.3