ipwhois icon indicating copy to clipboard operation
ipwhois copied to clipboard

Question: is there a way to use ipwhois to parse WHOIS records from a file?

Open mpenkov opened this issue 5 years ago • 1 comments

I've already retrieved some WHOIS records and stashed them in a file. Now I want to parse them (without retrieving them again).

Is there a way to access the WHOIS parser via the ipwhois API?

mpenkov avatar Nov 16 '19 07:11 mpenkov

You can pass the response arg like in the offline tests: https://github.com/secynic/ipwhois/blob/master/ipwhois/tests/test_rdap.py#L26 https://github.com/secynic/ipwhois/blob/master/ipwhois/tests/test_rdap.py#L37

Keeping this open to document it.

secynic avatar Mar 04 '20 22:03 secynic