Skip to content

Commit

Permalink
Fix NU, PT, and GQ
Browse files Browse the repository at this point in the history
  • Loading branch information
pogzyb committed May 26, 2024
1 parent 45b5720 commit 16e4f9b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions asyncwhois/tldparsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ class RegexFI(TLDParser):


class RegexNU(TLDParser):
_nu_expression = {
tld_specific_expressions: ExpressionDict = {
TLDBaseKeys.DOMAIN_NAME: r"domain\.*: *(.+)",
TLDBaseKeys.REGISTRANT_NAME: r"holder\.*: *(.+)",
TLDBaseKeys.CREATED: r"created\.*: *(.+)",
Expand All @@ -622,7 +622,7 @@ class RegexNU(TLDParser):


class RegexPT(TLDParser):
_pt_expression = {
tld_specific_expressions: ExpressionDict = {
TLDBaseKeys.DOMAIN_NAME: r"Domain: *(.+)",
TLDBaseKeys.CREATED: r"Creation Date: *(.+)",
TLDBaseKeys.EXPIRES: r"Expiration Date: *(.+)",
Expand Down Expand Up @@ -1035,7 +1035,9 @@ def parse(self, blob: str) -> dict[str, Any]:


class RegexCC(TLDParser):
tld_specific_expressions: ExpressionDict = {TLDBaseKeys.STATUS: r"Domain Status: *(.+)"}
tld_specific_expressions: ExpressionDict = {
TLDBaseKeys.STATUS: r"Domain Status: *(.+)"
}


class RegexEDU(TLDParser):
Expand Down Expand Up @@ -1092,7 +1094,7 @@ class RegexLV(TLDParser):


class RegexGQ(RegexTK):
tld_specific_expressions: ExpressionDict = {}
...


class RegexNL(TLDParser):
Expand Down

0 comments on commit 16e4f9b

Please sign in to comment.