Это ответ действительно JSON?как я знаю, JSON не может быть разделен точкой с запятой.Это должно быть, как показано ниже.
"scans": {
"Bkav": {
"detected": false,
"version": "1.3.0.9466",
"result": null,
"update": "20180609"
},
"MicroWorld-eScan": {
"detected": true,
"version": "14.0.297.0",
"result": "W97M.Downloader.AIU",
"update": "20180611"
},
"CMC": {
"detected": false,
"version": "1.1.0.977",
"result": null,
"update": "20180610"
},
"CAT-Quickheal": {
"detected": true,
"version": "14.00",
"result": "X97M.Dropper.PD",
"update": "20180611"
},
"McAfee": {
"detected": true,
"version": "6.0.6.653",
"result": "X97M/Downloader.asi",
"update": "20180611"
},
},
"tags": {
...
},
После загрузки JSON в python dict вы можете сделать что-то вроде ниже.
import json
jsonDict = json.loads(yourJSON)
results = []
for scanElement in jsonDict['scans']:
if scanElement['result'] != None:
results.append(scanElement['result'])
##save the results to your DB