diff --git a/trackingv2.py b/trackingv2.py index 6fed1bd..11047e8 100644 --- a/trackingv2.py +++ b/trackingv2.py @@ -39,16 +39,17 @@ while True: isHSDir = True line2 = consensus.readline() if re.search("^v Tor 0\.(4\.[6-9]|3\.5\.(17|18)|4\.5\.(11|12|13|14))", line2, re.IGNORECASE): + #print(line1 + " " + line2 + " non") if isHSDir: numberOfNonv2HSDir += 1 numberOfNonv2 += 1 else: + #print(line1 + " " + line2 + " v2") if isHSDir: numberOfv2HSDir += 1 numberOfv2 += 1 for _ in range(3): next(consensus) - print(line1 + " " + line2 + " " + str(isHSDir)) dt = datetime.datetime.utcnow().strftime("%Y/%m/%d %H") with open("trackingv2.csv", "a") as csvFile: