|
|
|
|
@ -24,7 +24,7 @@ const scrapeInstance = async (link, page) => {
|
|
|
|
|
const h3elem = await page.$('h3');
|
|
|
|
|
const h3HTML = await h3elem.getProperty('innerHTML');
|
|
|
|
|
const h3Value = await h3HTML.jsonValue()
|
|
|
|
|
const course = h3Value.match(/(?<=\()[0-9A-Za-z\-]*(?=\))/g)[0]
|
|
|
|
|
const course = h3Value.match(/(?<=\()[ 0-9A-Za-z\-]*(?=\))/g)[0]
|
|
|
|
|
|
|
|
|
|
const droppedElem = await page.$('.instance-student-detail .dropped');
|
|
|
|
|
const droppedHTML = await droppedElem.getProperty('innerHTML');
|
|
|
|
|
|