Skip to content

Instantly share code, notes, and snippets.

View kantandane's full-sized avatar

Quentin Takeda kantandane

  • Daiteo
  • France
  • 06:22 (UTC +02:00)
View GitHub Profile
@kantandane
kantandane / parsehar.py
Last active September 14, 2017 13:09 — forked from tomatohater/parsehar.py
parsehar.py - Reads a har file from the filesystem and save it as a csv.
"""Reads a har file from the filesystem, converts to CSV, then dumps to
stdout.
"""
import argparse
import json
import csv
from urlparse import urlparse
def main(harfile_path):