From df2b1e4012dc50b56141bf9012d8e367a3d08fdf Mon Sep 17 00:00:00 2001 From: wabilin Date: Fri, 31 Jul 2020 20:15:19 +0900 Subject: get datas without date --- src/example.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/example.ts (limited to 'src/example.ts') diff --git a/src/example.ts b/src/example.ts new file mode 100644 index 0000000..394b220 --- /dev/null +++ b/src/example.ts @@ -0,0 +1,12 @@ +import getScheduleHtml from './getScheduleHtml' +import parse from './parseScheduleHtml' + +async function main() { + const html = await getScheduleHtml(); + const parsed = parse(html) + + // console.log(html.split('\n')) + console.log(parsed) +} + +main().catch(e => { console.error(e) }) -- cgit v1.2.3