Closed sgrigson closed 1 year ago
@jpwarren I decided to submit the PR for this, anyway. People were wanting to know exactly how many counts and percentages each domain was worth to end up in the final report.
Someone else wanted to be able to pull down that file and use it to rank their own blocks.
So this is the output:
https://github.com/sgrigson/oliphant/blob/main/blocklists/other/domain_audit_file.csv
Good points! Updated and ready for another review.
I'm very new to Python (mostly working with Golang lately), so appreciate the best practice tip there about 'None'.
Allows for the creation of a Blocklist Audit File.
This audit file can be used to return metadata about each domain match, such as the number of matches by count or percentage.
(This was primarily done for my own needs, but it should be easy enough to ignore for users who do not want to use this feature, as by default it's not enabled.)