Harvests and processes IP addresses from ZeroNet's log directory, while barebones - it still can be used at this stage.
Give the token key a value in the config file to use an ipinfo access secret, it will otherwise use the public limit.
- Make cli.py executable
chmod +x cli.py
- Fetch addresses, process and write to output
./cli.py path/to/log/dir --write output_file [attributes]
attributes:
address
loc
hostname
city
region
country
org
timezone
tor
./cli.py ~/ZeroNet-py3/log/ --write output_file address country city region tor
writes to output:
address: 79.172.193.32
country: HU
city: Budapest
region: Budapest
tor: True
------------------------------
address: 104.238.198.186
country: US
city: Studio City
region: California
tor: False
------------------------------
...
- Tests
- Asynchronous requests to API
- Multiple APIs to process addresses with
- Continuous fetching while browsing
- Note which Zite the ip derives from
- Reduce repeat requests for already processed addresses when writing to existing output file