RavelloH / rss-extender

基于fetchrss.com的RSS爬虫,可实现深度爬取文章摘要、突破fetchrss只生成最近五篇文章、去除原来存在于原始RSS中的广告等功能
https://ravelloh.github.io/RSS/rss.xml
MIT License
11 stars 2 forks source link

XML Bug:error on line 60 at column 12: Opening and ending tag mismatch: item line 16 and channel #3

Open KevinTeng0207 opened 1 month ago

KevinTeng0207 commented 1 month ago

我想把臉書的粉絲專業弄能即時更新的RSS 並推播到Discord。但不知道為甚麼有點問題,想問問作者大神~

這是我造著步驟還有看過issue後弄出來的 xml

這是我要弄得RSS https://fetchrss.com/rss/664dad050bcb52324145b903664dacf4cedf577499710b24.xml

以及程式碼 https://github.com/KevinTeng0207/rss-extender

RavelloH commented 1 month ago

@KevinTeng0207 应该是因为fetchrss最近更改了rss格式,现在的程序识别异常了

不过我还做了另一个功能类似的程序,RavelloH/rss-aggregator,它也支持目前这个repo里除了广告提取的其他所有功能,并且也能在github-actions上运行,我刚刚试了一下是没问题的,你可以试试它。

你可以在rss-aggregator这个项目中的index.js中,将rssList的定义修改为以下代码:

const rssList = [
    'atom.xml', // Do not delate this. This could keep your history rss.
    // Edit the list below
    'https://fetchrss.com/rss/664dad050bcb52324145b903664dacf4cedf577499710b24.xml'
];

之后再按readme里面的条目自定义即可