Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mpenkov opened this issue Nov 16, 2019 · 1 comment
Assignees
Milestone

Comments

@mpenkov
Copy link

mpenkov commented Nov 16, 2019

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?

@secynic
Copy link
Owner

secynic commented Mar 4, 2020

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 secynic added this to the 1.3.0 milestone Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants