I was running into some issues with the whois lookup and did the following to fix:
Added whois package to requirements.txt
Changed the whois lookup to work properly with the latest version of the package
I also added the following command line flags and features:
Silent mode to disable printing to stdout
Single file mode to save results to a single JSON file as opposed to multiple
Option to specify filename instead of using the tool-generated name
Some notes on these features:
The filename and single-file options are mutually exclusive. i.e., it is currently impossible to specify the filenames of all output files when not using the single-file mode.
My IDE automatically formatted the file using Black, so I apologize for the big changes to the original script. Let me know if you have any questions or want me to make additional revisions before merging. Thanks!
Morning! I hope you had a good new year!
I was running into some issues with the whois lookup and did the following to fix:
I also added the following command line flags and features:
Some notes on these features:
My IDE automatically formatted the file using Black, so I apologize for the big changes to the original script. Let me know if you have any questions or want me to make additional revisions before merging. Thanks!