Skip to content

Commit

Permalink
Merge pull request #244 from secynic/243/krnic_fix
Browse files Browse the repository at this point in the history
Fixed bug in KRNIC queries due to a change in their service (#243)
  • Loading branch information
secynic committed Aug 7, 2019
2 parents 8992461 + ba1bebd commit 282fb01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Expand Up @@ -15,6 +15,7 @@ Changelog
- Removed deprecated allow_permutations parameter (#230)
- Fixed ASNOrigin lookups (#216)
- Fixed bug in ASNOrigin lookups when multiple asn_methods provided (#216)
- Fixed bug in KRNIC queries due to a change in their service (#243)

1.1.0 (2019-02-01)
------------------
Expand Down
9 changes: 7 additions & 2 deletions ipwhois/nir.py
Expand Up @@ -108,9 +108,14 @@
},
'krnic': {
'country_code': 'KR',
'url': 'https://whois.kisa.or.kr/eng/whois.jsc',
'url': 'https://xn--c79as89aj0e29b77z.xn--3e0b707e/eng/whois.jsc',
'request_type': 'POST',
'request_headers': {'Accept': 'text/html'},
'request_headers': {
'Accept': 'text/html',
'Referer': (
'https://xn--c79as89aj0e29b77z.xn--3e0b707e/eng/whois.jsp'
),
},
'form_data_ip_field': 'query',
'fields': {
'name': r'(Organization Name)[\s]+\:[^\S\n]+(?P<val>.+?)\n',
Expand Down

0 comments on commit 282fb01

Please sign in to comment.