Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

域名提取的问题 #52

Open
jinhucheung opened this issue Oct 21, 2019 · 2 comments
Open

域名提取的问题 #52

jinhucheung opened this issue Oct 21, 2019 · 2 comments

Comments

@jinhucheung
Copy link
Contributor

jinhucheung commented Oct 21, 2019

Hi ymdblog,

感谢你能贡献出那么棒的工具给我们使用!

我在使用学习的过程中发现了一个问题, Python 脚本调用 getDomain 方法提取主域名和子域时,在特殊的情况下会提取错误。

如使用 AliDns.getDomain 处理 example.com.cn 时,会返回 ('example', 'com.cn')。这与预期不符。

在 PHP 脚本中未发现此问题。

Jim Cheung

@jinhucheung
Copy link
Contributor Author

我试着提交了一个 PR, 感谢 Review :)

@ymilv
Copy link

ymilv commented Mar 15, 2020

我也有同样的问题!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants