This commit is contained in:
@@ -19,7 +19,7 @@ globalThis.File = class File {};
|
||||
export default async function parseTeachers() {
|
||||
const url = "https://spsejecna.cz/ucitel";
|
||||
const response = await fetch(url);
|
||||
const data = await response.text(); // fetch needs .text() to get HTML
|
||||
const data = await response.text();
|
||||
const $ = cheerio.load(data);
|
||||
|
||||
const map = {};
|
||||
|
||||
Reference in New Issue
Block a user