|
|
|
|
@ -7,7 +7,6 @@ const delay = (ms) => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const scrapeInstance = async (link, page) => {
|
|
|
|
|
return new Promise(async (resolve)=>{
|
|
|
|
|
console.log('scraping instance');
|
|
|
|
|
await link.click();
|
|
|
|
|
await page.waitForNavigation();
|
|
|
|
|
@ -35,8 +34,6 @@ const scrapeInstance = async (link, page) => {
|
|
|
|
|
|
|
|
|
|
console.log({ instanceID, graduationDate, totalStudents, dropped, outcomes90Numeric, outcomes90Percent });
|
|
|
|
|
|
|
|
|
|
resolve()
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
(async () => {
|
|
|
|
|
|