refactor: entrypoint of script
Parse the system args in main() for command line use.
For people using this in their python script they should be able to supply the same arguments in the function.
Could you send me any resources for testing this project?
@a-wallen Somehow missed your reply
I have Sherlock integrated over here if you're looking for a known-good and functional example of scripted use User journey actually wasn't that bad. 90% of that file is processing the returned data, the actual Sherlock integration is only a few lines.
The crux of the entire integration came down to this:
from sherlock_project.sherlock import sherlock
from sherlock_project.sites import SitesInformation
from sherlock_project.notify import QueryNotify
sites = SitesInformation()
sites_data = { site.name: site.information for site in sites }
results:List[Dict] = sherlock(
username=query,
site_data=sites_data,
query_notify=QueryNotify(),
timeout=timeout,
)
where the rest is just working the returned results.
After working a proper integration, I'm not too sure what specifically needs improvement other than proper type setting and docstrings (open to suggestions)