Flex Reports Batch Processing

Script Example:  
https://marketdata.theocc.com/flex-reports?reportType=PR&optionType=E&reportDate=20190531

reportType: OI (open interest)
PR (price)
optionType: E (equity)
I (index)
reportDate: yyyymmdd