From 66183f4c22e66bcb82d058dde1fca04fc274d58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tsukasa=28=E5=BC=B7=E6=AC=B2=29?= <94173826+tsukasa0220@users.noreply.github.com> Date: Mon, 6 Mar 2023 17:58:19 +0900 Subject: [PATCH] 0.9.8 --- extrack.gs | 5 ++++- login_after.html | 8 +++++--- login_before.html | 2 +- main.gs | 7 ++----- moodle.gs | 37 ++++++++++++++++++++++++++++++++----- property.gs | 5 +++-- 6 files changed, 47 insertions(+), 17 deletions(-) diff --git a/extrack.gs b/extrack.gs index f173c0e..d8254c1 100644 --- a/extrack.gs +++ b/extrack.gs @@ -13,11 +13,14 @@ function cheerio($, className, option, val) { function parse(html, start, end) { return Parser.data(html).from(start).to(end).iterate(); // 配列 } +function parse_one(html, start, end) { + return Parser.data(html).from(start).to(end).build(); //単体 +} // 1つに統合 function conbine(title, component, eventtype, courseid, eventlink, description, eventtime, subject) { return `