【文件属性】:
文件名称:ctftime-scraper:https:ctftime.org的抓取工具
文件大小:28KB
文件格式:ZIP
更新时间:2021-02-12 19:40:49
scraper scraping ctftime JavaScript
ctftime-scraper
的刮板
要求
节点> = v9.4.0
npm> = 5.6.0
安装
使用npm:
npm install --save ctftime-scraper
用法
得到团队
返回与解决的承诺。
const ctftime = require ( 'ctftime-scraper' )
ctftime . getTeam ( teamId )
. then ( team => console . log ( team ) )
. catch ( error => console . error ( error ) )
得到书面
返回一个承诺,解决与。
const ctftime = require ( 'ctftime-scraper' )
ctftime . getWriteup ( writeupId )
. then ( writeu
【文件预览】:
ctftime-scraper-master
----.gitignore(89B)
----package.json(658B)
----package-lock.json(80KB)
----.nvmrc(7B)
----.travis.yml(38B)
----LICENSE(1KB)
----spec()
--------support()
--------ctftime-scraper-spec.js(1KB)
----README.md(1KB)
----lib()
--------schemas()
--------scrapers()
--------index.js(484B)
----.editorconfig(147B)