_find_domain_id 抛异常 导致报错
hotraygroup opened this issue · comments
richard.she commented
通过接口https://dnsapi.cn/Domain.Info (https://docs.dnspod.cn/api/domain-info/)获取域名id时,如果被探测域名不存在,会返回错误码【13 当前域名有误,请返回重新操作。】,这种是正常的,应该跳过。现在的判定条件是【 not (str(e).startswith('Domain name invalid') or str(e).find('域名不正确') >= 0)】 会导致抛异常。
Zeyu Dong commented
我这边现在的返回是“当前域名未添加解析,请返回域名列表”
tengattack commented
我这边现在的返回是“当前域名未添加解析,请返回域名列表”
应该已经修复