mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 04:48:24 +08:00
fix: allowEmpty for douyu
This commit is contained in:
@@ -23,13 +23,12 @@ module.exports = async (ctx) => {
|
||||
link: `https://www.douyu.com/${id}`,
|
||||
},
|
||||
];
|
||||
} else {
|
||||
ctx.state.data.allowEmpty = true;
|
||||
}
|
||||
|
||||
ctx.state.data = {
|
||||
title: `${data.owner_name}的斗鱼直播间`,
|
||||
link: `https://www.douyu.com/${id}`,
|
||||
item: item,
|
||||
allowEmpty: true,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user