diff --git a/bin/reptile/manhuadb_com/picture.js b/bin/reptile/manhuadb_com/picture.js index 9ee12ef..0d5d200 100644 --- a/bin/reptile/manhuadb_com/picture.js +++ b/bin/reptile/manhuadb_com/picture.js @@ -17,11 +17,11 @@ let getscript = async (url) => { eval(text) let chapterImages = Buffer.from(img_data, 'base64').toString() chapterImages = JSON.parse(chapterImages) - let list = [] + let lists = [] for(let i in chapterImages){ - list.push(chapterImages[i].img) + lists.push(chapterImages[i].img) } - chapterImages = list + chapterImages = lists // var reg = /^http(s)?:\/\/(.*?)\// // imghost = reg.exec(pageImage)[2] let imghost = $(".vg-r-data").eq(0).attr("data-host") @@ -38,14 +38,13 @@ let getscript = async (url) => { // let down = pageUrl.replace("https://www.gufengmh8.com","") + nextChapterData.id + ".html" // let upurl = pageUrl.replace("https://www.gufengmh8.com","") + prevChapterData.id + ".html" list = { imghost, chapterPath, chapterImages} - if(list){ - // console.log(list) - - return list; - - } + // if(list){ + // // console.log(list) + + // } } }) + return list; // console.log(list) }