To run the python script successfully please make sure you install the following modules with pip:
pip install requests
pip install json
After installing, run the script from command line in the form
python subdomain_scrape_finished.py <domain>
Where <domain>
is the domain you wish to find its subdomains