add an emtpy data dir and also download the tech implementation spec document

This commit is contained in:
Brendan McDevitt 2022-11-05 15:39:02 -05:00
parent a0f30a6d91
commit 109e5f0efb
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#!/usr/bin/env bash
# This script will download the list of domain registrars from iana.org
#
wget -O registrar-ids.xml https://www.iana.org/assignments/registrar-ids/registrar-ids.xml
wget -O data/registrar-ids.xml https://www.iana.org/assignments/registrar-ids/registrar-ids.xml
wget -O data/rdap_tech_specs.pdf https://www.icann.org/en/system/files/files/rdap-technical-implementation-guide-15feb19-en.pdf
cat registrar-ids.xml | xq > registrar_ids.json
cat data/registrar-ids.xml | xq > data/registrar_ids.json