@mrfentmen/rss-mcp 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.js +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -77,7 +77,7 @@ class Rss2JsonError extends Error {
|
|
|
77
77
|
}
|
|
78
78
|
/** rss2json is a free public endpoint, so the feed is read the same way its siblings are. */
|
|
79
79
|
async function feed(rssUrl, limit) {
|
|
80
|
-
const res = await fetch(`https://api.rss2json.com/v1/api.json?rss_url=${encodeURIComponent(rssUrl)}&count=${limit}
|
|
80
|
+
const res = await fetch(`https://api.rss2json.com/v1/api.json?rss_url=${encodeURIComponent(rssUrl)}&count=${limit}`, {
|
|
81
81
|
headers: { "User-Agent": RSS_UA, Accept: "application/json" },
|
|
82
82
|
signal: AbortSignal.timeout(30000),
|
|
83
83
|
});
|
package/package.json
CHANGED