Coder Social home page Coder Social logo

crackercat / proxy-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunny9577/proxy-scraper

1.0 0.0 0.0 99.17 MB

⭐️ A proxy scraper made using Protractor | Proxy list Updates every three hour 🔥

Home Page: https://sunny9577.github.io/proxy-scraper/

JavaScript 79.43% HTML 20.57%

proxy-scraper's Introduction

⭐️ A proxy scraper made using Protractor | Proxy list Updates three times a day 🔥

Quick Access

JSON

curl "https://sunny9577.github.io/proxy-scraper/proxies.json" > proxies.json

CSV

curl "https://sunny9577.github.io/proxy-scraper/proxies.csv" > proxies.csv

Text

curl "https://sunny9577.github.io/proxy-scraper/proxies.txt" > proxies.txt

Setup Requirements

1 - A Windows, Mac or Linux Computer

2 - Google Chrome installed

Setup

This bot is based on protractor automated browser testing software.

1 - Open a terminal an make sure you are in the project directory

cd proxy-scraper

2 - Make sure you have protractor installed

To check if you have protractor installed run:

protractor --version

If the output is something like this:

Version 5.4.0

This means protractor is already installed, otherwise run the command:

npm install -g protractor

3 - Install Selenium Webdriver

This is where your program will run, to install it simply execute the command:

webdriver-manager

4 - Database Connectivity ( Only if u want to save output to database)

You can skip this step just set SAVE_TO_DB to false in config.js

Go to the file config.js and change with your login information

npm install mysql --save

Table Structure

Name	Type	Collation	Attributes	Null	Default	Comments	Extra
1	idPrimary	int(11)			No	None		AUTO_INCREMENT
2	proxyIndex	varchar(50)	latin1_swedish_ci		No	None		
3	port	int(10)			No	None		
4	country	varchar(100)	latin1_swedish_ci		No	None		
5	type	varchar(100)	latin1_swedish_ci		No	None		
6	anonymity	varchar(100)	latin1_swedish_ci		No	None	

Running the bot

1 - Start the Selenium webserver

Open a terminal an make sure you are in the project directory:

cd proxy-scraper

Update and start the server:

webdriver-manager update
webdriver-manager start

2 - Run the bot

With the previous terminal still open and running open another terminal an make sure you are in the project directory:

cd proxy-scraper

Run the bot:

protractor conf.js

Made By Sunny Singh

proxy-scraper's People

Contributors

sunny9577 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.