GithubHelp home page GithubHelp logo

har-tree-viewer's Introduction

.HAR file tree viewer

What is this

This repo contains a little piece of code that I use for analysing .HAR files (network traffic record files). Usually, these files are used for performance analysis of the web pages, therefore all the other viewers didn't suit my needs to display the records in a tree-like fashion to see the relations between the elements of the webpages. And since I needed other features also, it didn't make sense to adapt any of the available tools.

This code visualizes the records by connecting together the Referer and Location HTTP headers to see the relations. Additionally, it can highlight URLs using EasyLists, it can fetch .HAR files automatically by using one of several engines, supports user-highlighting of records, storing them in a separate .hh files, does JS-beautifying and other little things useful for figuring out what's going on on a webpage.

The documentation is lacking a bit, but I believe everything can be figured out from the code (it's not big), if something is not mentioned in the docs (actually, the documentation is this README file and the ./HARtree.py --help).

Requirements

Mandatory

  • python2
  • Qt5
  • PyQt5

Optional

  • re2
  • adblockparser
  • browsermob-proxy
  • selenium
  • jsbeautifier

pip2 install -r optional-requirements.txt

Bunch of other stuff that is not documented (fetch engines along with their dependencies).

Note: The code is written like a python3 code, however the re2 module doesn't work on python3, so it is also written to be backwards-compatible with python2 and it currently works with python2 only (since it uses the aforementioned re2 module).

HAR

Engines for fetching HAR files

Possible engines

har-tree-viewer's People

Contributors

renekliment avatar

Stargazers

 avatar

Watchers

 avatar James Cloos 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.