Skip to content

something could be improve? #7

@Yang-ST

Description

@Yang-ST

Hello, I'm here again. The process of obtaining whois information is: get domain ->get whois server from iana ->get domain whois information, right? I'm not sure if I'm using the whois server.txt downloaded from iana, but that file may not have been updated for a long time. It would be more accurate to query the whois server from iana each time.

In addition, after multiple uses, I have found several areas for improvement:

  1. Date extraction: 'coli688. com. hk', the name of the creation time is' Domain Name Comment Date '. My solution is to generalize the date name, and skip if the date cannot be matched.

  2. Date format recognition: It is not always in accordance with iso specifications, such as 13-10-2009, 2022-11-10 00:00:00T00:00:Z. It is recommended to use the dateutil library and extract fixed date formats. "pip python-dateutil"

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions