diff --git a/lib/routes/ntrblog/articles.ts b/lib/routes/ntrblog/articles.ts index 5f0d1468a..5ffe9360b 100644 --- a/lib/routes/ntrblog/articles.ts +++ b/lib/routes/ntrblog/articles.ts @@ -35,7 +35,8 @@ export const route: Route = { }; async function handler(): Promise { - const feed = await parser.parseURL('https://ntrblog.com/atom.xml'); + const rsp = await got('https://ntrblog.com/atom.xml'); + const feed = await parser.parseString(rsp.data); const items = await Promise.all( feed.items.map((item) => {