vio
09/08/2021, 11:25 AMeTLD+1 out from a Url
for example if I have the following url: <https://www.google.co.uk/some-path> , the eTLD+1 I need would be <http://google.co.uk|google.co.uk>
I'm using the Url type from io.ktor.http to construct the entire url atm.
Does anyone know if there's any other data type or library that could provide this functionality, or any approach that could help me solve this?
Any suggestions are appreciated, thank you 🙏