gather-public-proxy
Version:
Find free anonymous proxy
42 lines (30 loc) • 851 B
Markdown
Gather Public Proxy
===================
Find free anonymous proxy
## Installation
With npm:
```shell
npm install -g gather-public-proxy
```
Leave off the `-g` if you don't wish to install globally
## Commande Line
There is a command-line tool that exposes the functionality of this library
```shell
gpp [options]
```
see `gpp --help` for options
## Api
```js
var runner = require("gather-public-proxy");
runner(options, function(proxyList){
proxyList.forEach(function(elm){
console.log(elm.ip + ":" + elm.port);
});
});
```
List of optional options:
- `search` 'best' or 'fast' change searching method (default is best)
- `max` number of maximum required proxies
- `contry` search for specific country ex ('US', 'UK', 'FR' ..)
- `thread` specify max query simultaneous on same server
- `verbose` write debug on stderr