곽병민

Organize crawling data

......@@ -15,8 +15,20 @@ var options = {
'p_term': '10',
'initYn': 'Y'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var jason = response.body
var json = JSON.parse(jason)
const data = {}
for (var i in json["rows"]) {
console.log(json["rows"][i])
}
console.log(json["rows"][0]["subjt_name"])
});
\ No newline at end of file
......