Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barenddt/proxy-validator-js
Mass validate proxy lists.
https://github.com/barenddt/proxy-validator-js
proxy proxychecker
Last synced: 6 days ago
JSON representation
Mass validate proxy lists.
- Host: GitHub
- URL: https://github.com/barenddt/proxy-validator-js
- Owner: barenddt
- License: mit
- Created: 2018-10-18T18:48:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-20T18:39:25.000Z (about 6 years ago)
- Last Synced: 2024-10-01T22:16:42.204Z (about 1 month ago)
- Topics: proxy, proxychecker
- Language: JavaScript
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Install
Using NPM:
```
$ npm i mass-proxy-validator
```Using Yarn:
```
$ yarn add mass-proxy-validator
```## Example
```javascript
const proxyValidator = require("mass-proxy-validator");proxyValidator({
input: "path/to/proxies.txt",
output: "path/to/newProxies.txt",
url: "http://example.com/",
threads: 100,
timeout: 1000
});
```## Options
```javascript
{
input: "proxies.txt",
/* Path to proxies .txt file.
Format of proxies file should look like this....
96.9.88.54:31447
96.9.73.80:45984
96.65.123.249:8118
95.87.210.100:50451
95.86.40.170:53281
...
*/output: "newProxies.txt",
/* Path of .txt file to append to.
If it does not exist it will be created.
*/url: "http://example.com/",
// Url to test proxies against.threads: 100,
// Amount of threads to run.timeout: 2000
// Time to wait before closing connection.
}
```