remove zimuzu link

This commit is contained in:
DIYgod 2018-11-29 11:40:07 +08:00
parent 2269b3b7e7
commit 8582caa8aa
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 1 deletions

View File

@ -8,8 +8,8 @@ const parser = new Parser({
module.exports = async (ctx) => {
const id = ctx.params.id;
const feed = await parser.parseURL(`http://diaodiaode.me/rss/feed/${id}`);
console.log(feed);
feed.items.map((item) => {
item.link = null;
item.enclosure_url = item.magnet;
item.enclosure_type = 'application/x-bittorrent';
return item;