Cleanup
This commit is contained in:
parent
3a6b05bc0a
commit
f9236d8f46
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue