Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 3.07 KB

README.md

File metadata and controls

66 lines (52 loc) · 3.07 KB

Build Status codecov Code Climate bitHound Overall Score Test Coverage Version Dependency Status Downloads npm Github All Releases Twitter Follow

#Proxylist - get fresh free proxies

Motivation

I was building "proxyneedle" and I was almost ready, when the failed tests proved that the public fresh list I was using was Java reliable(mock intended). So I have option to throw "proxyneedle" away or to scrape some websites and deliver free and fresh proxies for me and for anyone else interested in the topic.

Usage

// npm i -S proxylist
const proxylist = require("proxylist")
proxylist.main().then(console.log) //=> ["145.34.32.156:4440", ...]
proxylist.first().then(console.log)
proxylist.second().then(console.log)

Functions

main()Promise

Initiate scraping of proxy list website www.us-proxy.org

first()Promise

Initiate scraping of proxy list website www.hide-my-ip.com

second()Promise

Initiate scraping of proxy list website www.ultraproxies.com

main() ⇒ Promise

Initiate scraping of proxy list website www.us-proxy.org

Kind: global function
Returns: Promise - Promise => Array of proxy ip addresses such as '23.106.76.49:29842'

first() ⇒ Promise

Initiate scraping of proxy list website www.hide-my-ip.com

Kind: global function
Returns: Promise - Promise => Array of proxy ip addresses with maximum length of 50

second() ⇒ Promise

Initiate scraping of proxy list website www.ultraproxies.com

Kind: global function
Returns: Promise - Promise => Array of proxy ip addresses