feat: 风之动漫可全文输出漫画内容
This commit is contained in:
parent
cbe1088bb2
commit
286f8cd21b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue