[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Updates regexp for updated check.tpo
commit 05a225698cedf71ef3f328010e3372da067fb29f
Author: aagbsn <aagbsn@xxxxxxxx>
Date: Fri Nov 22 19:07:18 2013 +0000
Updates regexp for updated check.tpo
---
ooni/geoip.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ooni/geoip.py b/ooni/geoip.py
index 2971ca6..7544af5 100644
--- a/ooni/geoip.py
+++ b/ooni/geoip.py
@@ -96,7 +96,7 @@ class TorProjectGeoIP(HTTPGeoIPLookupper):
url = "https://check.torproject.org/"
def parseResponse(self, response_body):
- regexp = "Your IP address appears to be: <b>((\d+\.)+(\d+))"
+ regexp = "Your IP address appears to be: <strong>((\d+\.)+(\d+))"
probe_ip = re.search(regexp, response_body).group(1)
return probe_ip
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits