libtld 1.2.0 发布,从URL中提取域名信息

2020年1月31日08:16:26
评论

libtld 是一个用来从 URI 中抽取 TLD(顶级域名) 信息的 C 库。你可以提取域名、子域名等信息

  • Added support for exceptions so we now properly support .uk for domains such as nic.uk, but forbid it for all the sites that are not exceptions.
  • Updated the tests accordingly.
  • Added a test for the XML file to make sure it respects the DTD.
  • Fixed the offsets of the data table, since these are unsigned short, -1 is not the best value to use to represent an invalid value. Instead we use USHRT_MAX now.
  • Completed the .us entries.

企鹅博客
  • 本文由 发表于 2020年1月31日08:16:26
  • 转载请务必保留本文链接:https://www.qieseo.com/271536.html

发表评论