https://www.rickyspears.com/scraper/python-curl/
execute curl command as subprocess and capture output