First, install xdebug
package on system:
$ sudo yum install php-pecl-xdebug.x86_64
Or with DNF:
import json | |
import base64 | |
import os | |
# make sure the output directory exists before running! | |
folder = os.path.join(os.getcwd(), "imgs") | |
with open("src.har", "r") as f: | |
har = json.loads(f.read()) |