fix douban 404 (#1566)

close #1564
This commit is contained in:
Chenyang Shi 2019-02-19 11:52:33 +08:00 committed by DIYgod
parent d8e92bd4e2
commit 1fea735dc3
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ module.exports = async (ctx) => {
})
.get();
for (let i = list.length - 1; i >= 0; i--) {
if (list[i].author === '[已注销]') {
list.splice(i, 1);
}
}
const out = await Promise.all(
list.map(async (info) => {
const title = info.title;