From f9236d8f46c3b4d8b009fff57ba92aef55b3b31b Mon Sep 17 00:00:00 2001 From: George Mandis Date: Sun, 28 Nov 2021 01:11:12 -0800 Subject: [PATCH] Cleanup --- src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index bfa0433..59fccc9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,10 +29,6 @@ for (const [group, feeds] of Object.entries(feedList)) { for (const feed of feeds) { try { - if (DEBUG) { - console.log(feed); - } - const response = await fetch(feed); const body = await parseFeed(response); @@ -42,7 +38,6 @@ for (const [group, feeds] of Object.entries(feedList)) { const contents: FeedItem = (typeof body === "string" ? (await parser.parseString(body)) : body) as FeedItem; - contents.feed = feed; contents.title = getTitle(contents); contents.link = getLink(contents);