Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Latest commit

 

History

History
39 lines (27 loc) · 633 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 633 Bytes

scrapforandatong

TODO

  • 智慧安大登录
  • 智慧安大跳转教务系统
  • 课表爬取

运行

根目录新建一个 account.json 文件,内容如下:

{
  "username": "<你的学号>",
  "password": "<你的密码>"
}

安装依赖:

npm install

运行:

node index.js

第三方库

Playwright

selenium -> puppeteer -> playwright

Getting started

Scraping the web with Playwright

获取新Page实例