添加上下也信息
This commit is contained in:
		
							parent
							
								
									c1edeec5ef
								
							
						
					
					
						commit
						edc5ece01b
					
				
							
								
								
									
										2
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								app.js
									
									
									
									
									
								
							@ -26,4 +26,4 @@ app.use(bodyParser());
 | 
			
		||||
// console.log(requter())
 | 
			
		||||
app.use(requter());
 | 
			
		||||
app.listen(3004);
 | 
			
		||||
console.log("http://localhost:3002")
 | 
			
		||||
console.log("http://localhost:3004")
 | 
			
		||||
@ -26,7 +26,9 @@ let getscript = async (url) => {
 | 
			
		||||
            // nextChapterData 下一页信息
 | 
			
		||||
            // 页面地址为 基础url + 页信息.id
 | 
			
		||||
            // console.log({ imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage })
 | 
			
		||||
            list = { imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage }
 | 
			
		||||
            let nexturl = pageUrl.replace("https://www.gufengmh8.com","") + nextChapterData + ".html"
 | 
			
		||||
            let upurl = pageUrl.replace("https://www.gufengmh8.com","") + prevChapterData + ".html"
 | 
			
		||||
            list = { imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage,nexturl,upurl }
 | 
			
		||||
            // console.log(list)
 | 
			
		||||
        }
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user