domains-from-csp
domains-from-csp copied to clipboard
KeyError in get_csp_header(url)
Line 64-65 in csp_parser.py:
elif 'content-security-policy-report-only' in r.headers: csp_header = r.headers["content-security-policy-report-only:"]
There is no key " content-security-policy-report-only: " - need to delete " : " in the end, then everything works fine