Skip to content

Instantly share code, notes, and snippets.

@MrCheatEugene
MrCheatEugene / extract_har.py
Last active November 3, 2023 11:32 — forked from Lewiscowles1986/extract_har.py
Python 3 script to extract images from HTTP Archive (HAR) files (Tested & working on Python 3.11)
import json
import base64
import os
# make sure the output directory exists before running!
folder = os.path.join(os.getcwd(), "imgs")
if not os.path.exists(folder):
os.mkdir(folder,777)