Skip to content
This repository was archived by the owner on Feb 3, 2024. It is now read-only.

Commit 0f7ce3e

Browse files
committed
add 4 valid subdomains of za with their whois servers: co.za, net.za, org.za, web.za
1 parent 0adadae commit 0f7ce3e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

whois/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
SLOW_DOWN = 0
4747

4848
Map2Underscore = {
49+
".co.za": "co_za", # south africa
50+
".web.za": "web_za", # south africa
51+
".org.za": "org_za", # south africa
52+
".net.za": "net_za", # south africa
53+
#
4954
".com.eg": "com_eg", # egypt
5055
".ac.uk": "ac_uk",
5156
".co.uk": "co_uk",

whois/tld_regexpr.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,6 +1153,11 @@
11531153
"extend": "com",
11541154
}
11551155

1156+
web_za = { "extend": "za", "_server": "web-whois.registry.net.za" }
1157+
org_za = { "extend": "za", "_server": "org-whois.registry.net.za" }
1158+
net_za = { "extend": "za", "_server": "net-whois.registry.net.za" }
1159+
co_za = { "extend": "za" , "_server": "coza-whois.registry.net.za"}
1160+
11561161
gy = {
11571162
"extend": "com",
11581163
}

0 commit comments

Comments
 (0)