request-pool-beta
0.1.5 • Public • Published RequestPool
Functions
- Automatically get proxies (china area)
- Automatically check proxies
- Automatically choose proxies
- Automatically execute http GET request
- Automatically retry if http error occurs
Advantages
- Easy to use
- For crawlers, it is really a good tool
Basic Usage
var RequestPool=require('request-pool')
var pool=new RequestPool()
pool.init(function(get){
get("http://www.baidu.com",function(body){
console.log(body)
})
})
Package Sidebar
Install
Weekly Downloads