mirror of
				https://github.com/gfwlist/gfwlist.git
				synced 2025-11-04 08:37:27 +00:00 
			
		
		
		
	VXBkYXRlIHRvIGlnbm9yZSByZWdleHM=
This commit is contained in:
		
							parent
							
								
									84ee63eb2e
								
							
						
					
					
						commit
						4706e78526
					
				@ -50,6 +50,7 @@ def main():
 | 
			
		||||
        if rule.startswith('[AutoProxy'): continue
 | 
			
		||||
        if rule.startswith('!'): continue
 | 
			
		||||
        if rule.startswith('@@'): continue
 | 
			
		||||
        if rule.startswith('/') and rule.endswith('/'): continue
 | 
			
		||||
        (test, t) = getUrl(rule)
 | 
			
		||||
        print '=>', test,
 | 
			
		||||
        curl = subprocess.call(['/usr/bin/curl', '-4', '-I', '-m', '5', test], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user