mirror of
https://github.com/gfwlist/gfwlist.git
synced 2024-12-24 23:55:18 +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