From 00a1a766bb5e0f1d121af194af9338298eebdde2 Mon Sep 17 00:00:00 2001
From: Enju Aihara <5-EnjuAihara@users.noreply.gitlab.varis.social>
Date: Fri, 4 Mar 2022 22:13:00 +0100
Subject: [PATCH] now also returns the domain

---
 mastodon_api/index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mastodon_api/index.js b/mastodon_api/index.js
index aca15fa..21d4b3f 100644
--- a/mastodon_api/index.js
+++ b/mastodon_api/index.js
@@ -20,6 +20,7 @@ async function main(domain, _callback) {
                             return;
 
                         let row_obj = {
+                            domain: row.childNodes[1].innerText,
                             hash: row.querySelector("[title]").title.replace("SHA-256: ", ""),
                             reason: row.childNodes[3].innerText,
                         }
-- 
GitLab