Bemmu / PyNamecheap

Namecheap API client in Python.
MIT License
197 stars 69 forks source link

Splitting domains for 3-level case (e.g. example.co.uk) #17

Open tianhuil opened 7 years ago

tianhuil commented 7 years ago

The previous code failed on domains like "example.co.uk". This breaks it up into "example" "co.uk", which is empirically what the API is looking for.