Commit 4706e785 authored by xu.jimmy.wrk's avatar xu.jimmy.wrk

VXBkYXRlIHRvIGlnbm9yZSByZWdleHM=

parent 84ee63eb
...@@ -50,6 +50,7 @@ def main(): ...@@ -50,6 +50,7 @@ def main():
if rule.startswith('[AutoProxy'): continue if rule.startswith('[AutoProxy'): continue
if rule.startswith('!'): continue if rule.startswith('!'): continue
if rule.startswith('@@'): continue if rule.startswith('@@'): continue
if rule.startswith('/') and rule.endswith('/'): continue
(test, t) = getUrl(rule) (test, t) = getUrl(rule)
print '=>', test, print '=>', test,
curl = subprocess.call(['/usr/bin/curl', '-4', '-I', '-m', '5', test], stdout=subprocess.PIPE, stderr=subprocess.PIPE) curl = subprocess.call(['/usr/bin/curl', '-4', '-I', '-m', '5', test], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment