Description
Puppeteer crawls shanshan university mystu, credit system information, and USES express built API
Function
-
mystu.js
Crawl the mystu login page and verify that the account password is correct
-
credit.js
Crawl the credit system login page and verify that the account password is correct
-
course.js
Crawl the credit system to view the curriculum page and capture personal course information
-
classroom.js
Crawl the credits course details page and grab the classmates
Usage
$ npm install
$ node interface.js
描述
puppeteer爬虫爬取汕大mystu、学分制信息,并使用express搭建成api
功能
-
mystu.js
爬取mystu登录页面,验证账号密码是否正确
-
credit.js
爬取学分制登录页面,验证账号密码是否正确
-
course.js
爬取学分制查看课表页面,抓取个人课程信息
-
classmate.js
爬取学分制课程详情页面,抓取同班同学
使用
$ npm install
$ node interface.js