#!/bin/bash
#pull all jpg/jpegs from a HAR file
let x=100
grep -A 1 '"mimeType": "image/jpeg"' archive.org.har|\
  grep "text"|\
  cut -d\" -f4|\
  while read l;
  do 
    echo "$l"|base64 -d > $x.jpg;
    let x+=1;
  done
