修复
This commit is contained in:
		
							parent
							
								
									fcac6d0b02
								
							
						
					
					
						commit
						7a673b274d
					
				@ -4,7 +4,8 @@ let mainurl = "http://www.pufei.net/"
 | 
			
		||||
let gethtml = (name) => {
 | 
			
		||||
    return new Promise(async (res, rej) => {
 | 
			
		||||
        puppeteer.launch({
 | 
			
		||||
            headless: true
 | 
			
		||||
            headless: true,
 | 
			
		||||
            args: ['--no-sandbox', '--disable-setuid-sandbox']
 | 
			
		||||
        }).then(async (browser) => {
 | 
			
		||||
 | 
			
		||||
            const page = await browser.newPage();
 | 
			
		||||
 | 
			
		||||
@ -5,6 +5,7 @@ let gethtml = (name) => {
 | 
			
		||||
    return new Promise(async (res, rej) => {
 | 
			
		||||
        puppeteer.launch({
 | 
			
		||||
            headless: true,
 | 
			
		||||
            args: ['--no-sandbox', '--disable-setuid-sandbox']
 | 
			
		||||
        }).then(async (browser) => {
 | 
			
		||||
 | 
			
		||||
            const page = await browser.newPage();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user