├── LICENSE
├── README.md
├──list_of_ips.txt
├── lookups
│ ├── geo_ip_lookup.py
│ └── rdap_lookup.py
├── main.py
├── extract
│ ├── __init__.py
│ └── extract.py
├── requirements.txt
├── dump.rdb
└── utils
├── __init__.py
└── utils.py
activate a virtual env
- run
pip install -r requirements.txt
- open the redis server
run redis-server in one terminal
open another terminal and run redis-cli
- run
python3 main.py
Notice: it will take a while to finish the first run. Howerver, the second time will be faster since the data are cached into redis cache database.