request-pool-beta
v0.1.5
Published
An intelligent proxy and request manager.
Downloads
9
Maintainers
Readme
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){
//do something
console.log(body)
})
})