Skip to main content

Privacyscanner scans websites for security and privacy properties. It is the future scanning engine of PrivacyScore.

Project description

privacyscanner

Installation

privacyscanner needs a Python 3 runtime. Depending on your environment you may also need the Python 3 header files in order to instal privacyscanner. For instance, on Debian and Ubuntu Linux you should be able to obtain all necessary files by executing:

sudo apt-get install python3 python3-pip python3-dev

privacyscanner is distributed via PyPI and can be easily installed using pip:

python3 -m venv venv
source venv/bin/activate
pip install wheel
pip install privacyscanner

Usage

Before first use, you have to download the dependencies of privacyscanner. These include the MaxMind GeoIP2 database and the Easylist adblock lists. For convenience, most dependencies can be downloaded with:

privacyscanner update_dependencies

Those dependencies will be stored in ~/.local/share/privacyscanner. In addition, google-chrome or chromium have to be installed and available in your PATH.

Scanning a single website, e.g. http://example.com/, can be done by running:

privacyscanner scan http://example.com/

It will output the scan result in Python object syntax and it will create a directory for the website in your current working directory. This directory contains the scan result as JSON file as well as associated files (e.g. the screenshot of the site) and the corresponding log files of the scan.

For more details, see privacyscanner --help and dive into the source :-)

Development

Check out repository, change directory into repository root. Then install with:

pip install --editable .

Unfortunately, there is no development documentation currently. You have to consult the source code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

privacyscanner-0.7.6.tar.gz (54.7 kB view hashes)

Uploaded Source

Built Distribution

privacyscanner-0.7.6-py3-none-any.whl (70.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page