Skip to content

Commit

Permalink
Fixed bug in KRNIC queries due to a change in their service (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
secynic committed Aug 6, 2019
1 parent 8992461 commit ba1bebd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 ba1bebd

Please sign in to comment.