cracker:从网络上获取数据

时间:2021-05-03 08:35:48
【文件属性】:
文件名称:cracker:从网络上获取数据
文件大小:50KB
文件格式:ZIP
更新时间:2021-05-03 08:35:48
JavaScript 饼干 根据和 编码样式 ES6生成器样式 用法 // examples/github-profile.js const fetch = require ( 'cracker' ) function * run ( ) { const url = 'https://github.com/fritx' const rules = { * stats ( $ ) { const $stats = $ ( '.vcard-stat' ) const stats = { } $stats . each ( ( i , el ) => { const $el = $ ( el ) const key = $el . find ( '.text-muted' ) . text ( ) const val
【文件预览】:
cracker-dev
----.gitignore(13B)
----package.json(432B)
----examples()
--------github-profile.js(1KB)
----README.md(1KB)
----lib()
--------index.js(631B)
----pic()
--------Snip20151011_1.png(48KB)

网友评论