feat: 风之动漫可全文输出漫画内容

This commit is contained in:
zytomorrow 2021-01-11 18:04:31 +08:00
parent cbe1088bb2
commit 286f8cd21b
1 changed files with 4 additions and 3 deletions

View File

@ -22,13 +22,14 @@ const get_pic = (id, chapert, caches) => {
if (response.data !== undefined) {
const picurl = data.match(picUrlPattern);
pic_content += `<img src='http://www-mipengine-org.mipcdn.com/i/p5.manhuapan.com/${picurl[picurl.length - 1]}'/><br/>`;
if (data.match('最后一页了') !== null) {
is_last_page = true;
}
} else {
pic_content += '';
is_last_page = true;
}
if (data.match('最后一页了') !== null) {
is_last_page = true;
}
index += 1;
}
return pic_content;