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 .
11 years ago
Sven Slootweg
5d32a3c883
Fix Nominet parsing for registrants that do not have a state/region listed
11 years ago
Sven Slootweg
43a62c5828
janet (.ac.uk) parsing and hardcoded root server exception, misc. fixes
11 years ago
Sven Slootweg
407cd74b59
Support for LCN.com
11 years ago
Sven Slootweg
7f689d1734
DotAsia support
11 years ago
Sven Slootweg
3e43dcbcef
Add support for EuroDNS. Fixes #10 .
11 years ago
Sven Slootweg
9b6416af3f
Correctly parse EURid data, fixes #9
11 years ago
Sven Slootweg
163ed9d75c
Fixes globaltravelgroup.com for #8
11 years ago
Sven Slootweg
35fe637eb9
Nominet regex patch to allow extra fields. Fixes #8... again.
11 years ago
Sven Slootweg
cddc787b69
Hetzner support and version bump
11 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 .
11 years ago
Sven Slootweg
0cd9e01a3f
Manually merge #3 due to mistarget
11 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.
11 years ago
Christian Koepp
cfe36ed2f6
added support for 1..4 address-fields on tld .de
11 years ago
Christian Koepp
c934d6ba9b
Last addition, promised. In rare cases there can be 1..n Address-Fields returned from DeNIC
11 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
11 years ago
Christian Koepp
d945fe2d34
aaaand there is a comment field called remarks...sometimes...
11 years ago
Christian Koepp
4ddee4199c
phone + fax can contain spaces (even if they shouldn't according to docu)
11 years ago
Christian Koepp
2f5e700224
full regexpr support for .de domains and updated test-cases for prq.se + nic.ru
11 years ago
Christian Koepp
74ef9a01e4
partial support of regexpr for .de domains
11 years ago
Christian Koepp
73a363eb00
partial support of regexpr for .de domains
11 years ago
Ziad Sawalha
655d1ca374
Make it work with python 3.3
11 years ago
Sven Slootweg
f2ce1d7b8a
Support for separated first and last name, NetworkSolutions support, SIDN support, iedr.ie support, .am support, GAL Communication support, Fabulous.com support, added optional 'Facsimile Number' and 'Organization' fields for .US (Neustar) domains, fixed false positive (interpreting 'state' as 'status' in registrant data)
11 years ago
Sven Slootweg
3f7b946871
Fix regular expression corner case that led to long parsing times
11 years ago
Sven Slootweg
0d8edda7e7
Support for .ME
11 years ago
Sven Slootweg
94ae133049
.br support (as far as they give out any info anyway...)
11 years ago
Sven Slootweg
c23eef8aa3
Update for .at to also support domains without fax/phone/email details
11 years ago
Sven Slootweg
2bfa70b9f7
Proper (.ws) Dynadot support and normalization improvements
11 years ago