PyDomainExtractor icon indicating copy to clipboard operation
PyDomainExtractor copied to clipboard

Enhance the structure returned from the dictionary

Open aimtsou opened this issue 2 years ago • 1 comments

Good morning,

You could enhance the dictionary structure by providing 3 more elements:

  • fqdn: Which is a mapping of subdomain.domain.suffix
  • registered domain: which is a mapping of domain.suffix
  • one mapping for subdomain.domain (which would resolve the ip case issue)

aimtsou avatar Feb 10 '23 07:02 aimtsou

Hi @aimtsou! Thanks for opening an issue.

Could you please provide further details regarding your idea? Could you also include a code snippet that explains the use case and demonstrates how your proposal can be utilized?

Let me confirm if I understand correctly. Are you suggesting that the "extract" call should return a dictionary with the mentioned attributes, where the "fqdn" attribute represents the concatenated string of all the parts of the domain?

wavenator avatar Jun 25 '23 13:06 wavenator