Since we're only using the library to grab domain apex, we can just roll our own implementation here.
Pull down public_suffix_list.dat, store it in memory, and do look-ups/matches based on it.
val publicSuffixes = scala.io.Source.fromURL("https://publicsuffix.org/list/public_suffix_list.dat", "utf-8").getLines.map(_.trim).filter(_.nonEmpty).filter(!_.startsWith("//")).toSet
Since we're only using the library to grab domain apex, we can just roll our own implementation here.
Pull down
public_suffix_list.dat
, store it in memory, and do look-ups/matches based on it.