Easily scrape data from Moodle LMS sites
MIT License
Bot releases are hidden (Show)
navCourses
option to .refresh()
for getting all courses (including those with no active tasks) from the 'My Courses' dropdown, usually found in the navigation bar. May not be supported for some sites.// to include courses with no active tasks in the calendar
await moodle.refresh(cookies, { navCourses: true });
Full Changelog: https://github.com/nizewn/moodle-scrape/compare/v3.0.0...v3.1.0
Published by 99nize over 1 year ago
export interface Task {
// ...
- course: Course;
+ courseId: number;
- deadline: string;
+ deadline: Date;
}
export interface Course {
// ...
- tasks: Array<Task>;
+ taskIds: Array<number>;
}
Full Changelog: https://github.com/nizewn/moodle-scrape/commits/v3.0.0