This commit is contained in:
George Mandis 2021-11-28 01:11:12 -08:00
parent 3a6b05bc0a
commit f9236d8f46

View file

@ -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);