履历课程
安装
npm i -D crawler-ntust-course
用法
这个狂热者正在实施 。
import Crawler from 'crawler-ntust-course' ;
// Initialize new crawler
var crawler = new Crawler ( ) ;
crawler . year = 2015 ;
crawler . term = 1 ;
// or
crawler = new Crawler ( { year : 2015 , term : 1 } ) ;
// Start crawling, callbacks are provided by promise pattern
crawler . crawl ( )
. then ( function ( data ) { console . log ( data ) ;
评论0
最新资源