@@ -0,0 +1,490 @@
+# -*- encoding: utf-8 -*-%0A#%0A# :authors: Arturo Filast%C3%B2%0A# :licence: see LICENSE%0A%0Afrom ooni.templates import httpt%0Aclass MyIP(httpt.HTTPTest):%0A    inputs = %5B'https://check.torproject.org'%5D%0A    def processResponseBody(self, body):%0A        print %22FOOOO%22%0A        import re%0A        regexp = %22Your IP address appears to be: %3Cb%3E(.+?)%3C%5C/b%3E%22%0A        match = re.search(regexp, body)%0A        try:%0A            self.report%5B'myip'%5D = match.group(1)%0A        except:%0A            self.report%5B'myip'%5D = None%0A%0A

Add test to obtain the clients IP address via check.tpo