Node.js 的网页浏览扩展 Horseman

码农软件 · 软件分类 · Node.js 扩展 · 2019-04-14 22:12:08

软件介绍

Horseman 是一个 Node.js 扩展模块,利用 PhantomJS 实现直接链式 API 和方便理解的控制流来实现无需图形化界面的网页浏览和数据获取。

示例代码:

var Horseman = require("node-horseman");
var horseman = new Horseman();

var projects = ['nodejs',
    'jquery',
    'tomcat',
    'mysql',
    'docker',
    'j2cache',
    'runjs',
    'git'];

projects.forEach( function( p ){
  var data = horseman
  .open('http://www.oschina.net/p' + p)
  .text('div.soft_collect_count');
  console.log( p + ': ' + data );
});

安装方法:

 npm install node-horseman

本文地址:https://codercto.com/soft/d/3597.html

The Probabilistic Method

The Probabilistic Method

Noga Alon、Joel H. Spencer / Wiley-Interscience / 2008-8-11 / USD 137.00

Praise for the Second Edition : "Serious researchers in combinatorics or algorithm design will wish to read the book in its entirety...the book may also be enjoyed on a lighter level since the diffe......一起来看看 《The Probabilistic Method》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器