Sven Slootweg
bc757687c3
Fix capitalization of "as" as part of a name.
9 years ago
Sven Slootweg
e8fbd730e6
Fix .ai parsing and normalization ( #45 ), add 'role' field, improve output format of test runner
9 years ago
Sven Slootweg
baee878692
Fix post-processing of empty but existent registrant entries, like for the.ai
9 years ago
Sven Slootweg
a8d521c23a
Initial support for .ai ( fixes #45 ), Unicode output patch for test runner, fuzzy deduplication and field swapping for incorrectly placed name/organization, improved case normalization
9 years ago
Sven Slootweg
0503b43375
When looking for nameserver blocks, also allow end-of-string in addition to a double newline. Fixes #43 .
10 years ago
Sven Slootweg
369dff7408
Add support for organization names in Nominet WHOIS data, and allow for extra fields in Nominet WHOIS data where the registrant has opted to have their address omitted. Fixes #36 .
10 years ago
Sven Slootweg
0ae66ffa54
Don't pick up the update date for the WHOIS database, only for the actual domain. Fixes #39 .
10 years ago
Sven Slootweg
d07cef1774
Whitespace fixes, and turning 'organization' group for Hetzner into a non-capturing group.
10 years ago
Joern Merkel
5b3a2ad1fa
Add domain luka-netconsult.com, add support for Organization in answer for .com-domain from hetzner
10 years ago
Sven Slootweg
76ffb7c54d
Add support for Interlink Co. Ltd. (.moe and possibly others). Fixes #34 .
10 years ago
Sven Slootweg
8bc8463d15
Realtime Register: Make phone optional, allow for multiple address lines, and make parsing rules consistent for all contact types.
10 years ago
Sven Slootweg
95d3ef68f6
Make 'state' an optional field for Realtime Register.
10 years ago
Sven Slootweg
a15f4d5ff5
Merge pull request #31 from manuelRiel/develop
...
Realtime Register support
10 years ago
Manuel Riel
7f8dbca048
correct optional organization
10 years ago
Manuel Riel
9e35b501c5
add Realtime Register and corresponding tests
10 years ago
Sam Stavinoha
14f7b60684
default kwargs are evaluated at definition time
...
This stackoverflow question covers the topic pretty well:
http://stackoverflow.com/q/1132941/1547030
From docs.python.org:
Default parameter values are evaluated when the function definition is
executed. This means that the expression is evaluated once, when the
function is defined, and that the same “pre-computed” value is used for
each call. This is especially important to understand when a default
parameter is a mutable object, such as a list or a dictionary: if the
function modifies the object (e.g. by appending an item to a list), the
default value is in effect modified. This is generally not what was
intended. A way around this is to use None as the default, and
explicitly test for it in the body of the function
10 years ago
Sven Slootweg
9203d83c03
Benchmarking and optimizations
10 years ago
Sven Slootweg
1f419ab7e6
`pwhois` display bugfix, and massively improved normalization: removal of empty-like values (-, n/a, etc.), mapping of abbreviations for countries, US/CA/AU states and airport codes to full locality names.
10 years ago
Sven Slootweg
c09068f0a2
Unicode fixes for `net` and `pwhois`. Fixes #26 .
10 years ago
Sven Slootweg
b53bad8272
There's no point in redefining all the regular expressions on every call.
10 years ago
Sven Slootweg
47e9c85a07
Improve normalization for registrar names, and implement .com.tw (TWNIC) parsing. Fixes #22 .
10 years ago
Sven Slootweg
0465810b75
Unbreak .dk parsing bug introduced by 1b60bde575
.
10 years ago
Sven Slootweg
a4f29a379e
Implement HKDNR (.hk) parsing. Fixes #24 .
10 years ago
Sven Slootweg
1b60bde575
Implement Akky/.com.mx parsing. Fixes #23 .
10 years ago
Sven Slootweg
ae547d0970
Implement .co.th parsing (oh man, what a mess...)
10 years ago
Sven Slootweg
84ab775649
Implement nic.ir parsing, including their horrid address format. Partially fixes #23 .
10 years ago
Sven Slootweg
d9474ce1b3
Change nic.pw/PIR regex to support No-IP.com by making the handle optional. Fixes #23 partially.
10 years ago
Sven Slootweg
d86e4ba916
Fix bug in creation date parsing for contacts. Implement .co.jp with recursive handle lookups, fixes #22 partially. Skip WHOIS referals with a protocol specification, fixes #25 .
10 years ago
Sven Slootweg
8fe54fa66b
Add support for nic.it. Fixes #21 .
10 years ago
Sven Slootweg
1c05408847
Implement CNNIC (.cn). Fixes #19 .
10 years ago
Sven Slootweg
c5f63363d2
Fix NeuStar regex to make State/Province optional since these are apparently not always present, and explicitly remove variable-width whitespace matching.
10 years ago
Sven Slootweg
5f660bfa96
Remove likely unnecessary variable-width whitespace matching during preprocessing, to avoid an insane permutation count for partially matching regexes, thereby hanging the parser. Fixes #18 .
10 years ago
Sven Slootweg
6ecf4efa98
Hardcoded nic.ps root WHOIS server, and added nic.ps parsing, plus misc. fixes. Fixes #15 .
10 years ago
Sven Slootweg
5d32a3c883
Fix Nominet parsing for registrants that do not have a state/region listed
10 years ago
Sven Slootweg
43a62c5828
janet (.ac.uk) parsing and hardcoded root server exception, misc. fixes
10 years ago
Sven Slootweg
407cd74b59
Support for LCN.com
10 years ago
Sven Slootweg
7f689d1734
DotAsia support
10 years ago
Sven Slootweg
3e43dcbcef
Add support for EuroDNS. Fixes #10 .
10 years ago
Sven Slootweg
9b6416af3f
Correctly parse EURid data, fixes #9
10 years ago
Sven Slootweg
163ed9d75c
Fixes globaltravelgroup.com for #8
10 years ago
Sven Slootweg
35fe637eb9
Nominet regex patch to allow extra fields. Fixes #8... again.
10 years ago
Sven Slootweg
cddc787b69
Hetzner support and version bump
10 years ago
Sven Slootweg
a4f486245b
Make second and third address line optional for Nominet WHOIS data with visible address. Add 'registration status' for Nominet. Testcases updated. Fixes #8 .
10 years ago
Sven Slootweg
0cd9e01a3f
Manually merge #3 due to mistarget
10 years ago
Ziad Sawalha
1e79e33126
Python 3 compatibility
...
Including converting one of the test data files to
UTF-8. It was Windows encoded which failed with
python 3's file.read encoding.
10 years ago
Christian Koepp
cfe36ed2f6
added support for 1..4 address-fields on tld .de
10 years ago
Christian Koepp
c934d6ba9b
Last addition, promised. In rare cases there can be 1..n Address-Fields returned from DeNIC
10 years ago
Christian Koepp
99a6f8bc43
well, now it doesn't matter which letters are in a phone/fax as they are different from domain to domain
10 years ago
Christian Koepp
d945fe2d34
aaaand there is a comment field called remarks...sometimes...
10 years ago
Christian Koepp
4ddee4199c
phone + fax can contain spaces (even if they shouldn't according to docu)
10 years ago