修复
This commit is contained in:
		
							parent
							
								
									cd79065a17
								
							
						
					
					
						commit
						8d41bdfe4a
					
				@ -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)
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user