[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Add GeoLiteCity dataset to ooniresources
commit d4000ce10305b7e3580e7e420b67a8bed2b4e50e
Author: aagbsn <aagbsn@xxxxxxxx>
Date: Sun Oct 26 16:25:07 2014 +0000
Add GeoLiteCity dataset to ooniresources
---
ooni/resources/__init__.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ooni/resources/__init__.py b/ooni/resources/__init__.py
index 0517252..d0f0cb9 100644
--- a/ooni/resources/__init__.py
+++ b/ooni/resources/__init__.py
@@ -26,6 +26,13 @@ inputs = {
}
geoip = {
+ "GeoLiteCity.dat.gz": {
+ "url": "https://geolite.maxmind.com/download/"
+ "geoip/database/GeoLiteCity.dat.gz",
+ "action": gunzip,
+ "action_args": [config.advanced.geoip_data_dir],
+ "processor": None
+ },
"GeoIPASNum.dat.gz": {
"url": "https://geolite.maxmind.com/download/"
"geoip/database/asnum/GeoIPASNum.dat.gz",
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits