From 109e5f0efbcec7f010ce0db9ea1efa199a60235a Mon Sep 17 00:00:00 2001 From: bpmcdevitt Date: Sat, 5 Nov 2022 15:39:02 -0500 Subject: [PATCH] add an emtpy data dir and also download the tech implementation spec document --- containers/domain_registration_tracker/data/.gitkeep | 0 .../domain_registration_tracker/get_iana_registrar_ids.sh | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 containers/domain_registration_tracker/data/.gitkeep diff --git a/containers/domain_registration_tracker/data/.gitkeep b/containers/domain_registration_tracker/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/containers/domain_registration_tracker/get_iana_registrar_ids.sh b/containers/domain_registration_tracker/get_iana_registrar_ids.sh index 7c5d223..98d0461 100755 --- a/containers/domain_registration_tracker/get_iana_registrar_ids.sh +++ b/containers/domain_registration_tracker/get_iana_registrar_ids.sh @@ -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