Inspired by code from Webhistorian/Laurens. Anonymization steps include removing parameters and white- or blacklisting URLs (if needed).