Hacker News new | ask | show | jobs
by rushikesh98 2146 days ago
Can you support ".ac.ccTLD" as well? Many countries [1] use that for educational institutes.

    [1]: https://en.wikipedia.org/wiki/.ac_(second-level_domain)
1 comments

If OP really only wants to allow academic email addresses, they could use the domains from JetBrains' swot repository: https://github.com/JetBrains/swot/tree/master/lib/domains
This likely uses swot as the data source, but offers an API as well: https://github.com/Hipo/university-domains-list