Coder Social home page Coder Social logo

prov-ads's Introduction

6CCS3PRJ

Using Provenance for Online Tracking Data Analysis

Student ID: 1747175 Supervisor: Luc Moreau

Installation

  1. Navigate to the root directory of this project
  2. Clone the OpenWPM repository: git clone https://github.com/mozilla/OpenWPM
  3. Run install scripts Run install_pypackages.sh Run conda activate prjprov NOTE: Due to restrictions by OpenWPM, this software can only be run on Ubuntu and macOS (Homebrew required for macOS).
  4. Navigate to the OpenWPM directory and run: Ubuntu: ./install.sh macOS: ./install-mac-dev.sh

Running the program

  1. Make sure the current conda environment is set to prjprov
  2. Run main_script.sh with following parameters:
  • -s followed by either a website URL or a filepath to a .txt file with the list of websites to visit separated by lines.
  • -d followed by either 1 or 0. This indicates the DNT header value.

Example: ./main_script.sh -s http://google.com -d 1

  1. OpenWPM will open a browser instance and visit the specified websites
  2. main.py is executed which records provenance and outputs an analysis
  3. Recorded files are located in the Crawls/Results/ directory

ERRROS

If installation of OpenWPM or a crawl fails, please run ./no_crawl.sh that will record provenance and perform analysis on sample data included in the repository. Due to OpenWPM being an open source software that it frequently updated, it cannot be guaranteed that it will run with the current version of this project.

prov-ads's People

Contributors

danikirish avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.