moodle-scrape

Easily scrape data from Moodle LMS sites

MIT License

Stars
14

Bot releases are hidden (Show)

moodle-scrape - v3.1.0 Latest Release

Published by 99nize over 1 year ago

What's Changed

  • Added an optional 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

moodle-scrape - v3.0.0

Published by 99nize over 1 year ago

Breaking Changes

  • Tasks and courses now store the ids instead of the object references
  • Task deadlines are now properly formatted as Dates instead of strings
export interface Task {
  // ...
- course: Course;
+ courseId: number;

- deadline: string;
+ deadline: Date;
}

export interface Course {
  // ...
- tasks: Array<Task>;
+ taskIds: Array<number>;
}

What's Changed

New Contributors

Full Changelog: https://github.com/nizewn/moodle-scrape/commits/v3.0.0