mirror of
				https://github.com/shufflewzc/faker2.git
				synced 2025-11-04 07:12:45 +08:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			289ed5eb80
			...
			9f21ab11b6
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					9f21ab11b6 | ||
| 
						 | 
					59c335b62c | 
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										19
									
								
								jd_dplh0401.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								jd_dplh0401.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										7
									
								
								jd_huandou.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								jd_huandou.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								ql.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ql.js
									
									
									
									
									
								
							@ -33,7 +33,7 @@ function getLatestFile(files) {
 | 
				
			|||||||
async function getToken() {
 | 
					async function getToken() {
 | 
				
			||||||
    const authConfig = await readFile(authFile)
 | 
					    const authConfig = await readFile(authFile)
 | 
				
			||||||
    // console.log(authConfig.toString().match(/"token":"(.*?)",/)[1])
 | 
					    // console.log(authConfig.toString().match(/"token":"(.*?)",/)[1])
 | 
				
			||||||
    return authConfig.toString().match(/"token":"(.*?)",/)[1]
 | 
					    return authConfig.toString().match(/"token":"([^"]*)"(?!.*"token":)/)[1]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
module.exports.getEnvs = async () => {
 | 
					module.exports.getEnvs = async () => {
 | 
				
			||||||
 | 
				
			|||||||
@ -493,7 +493,7 @@ def main():
 | 
				
			|||||||
        if 'keyv' in config:
 | 
					        if 'keyv' in config:
 | 
				
			||||||
            with open(config, "r", encoding="latin1") as file: 
 | 
					            with open(config, "r", encoding="latin1") as file: 
 | 
				
			||||||
                auth = file.read()
 | 
					                auth = file.read()
 | 
				
			||||||
                matches = re.search(r'token":"([^"]+)"', auth)
 | 
					                matches = re.search(r'"token":"([^"]*)"(?!.*"token":)', auth)
 | 
				
			||||||
                token = matches.group(1)     
 | 
					                token = matches.group(1)     
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            with open(config, "r") as file:
 | 
					            with open(config, "r") as file:
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2018
									
								
								sendNotify.js
									
									
									
									
									
								
							
							
						
						
									
										2018
									
								
								sendNotify.js
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user