Coder Social home page Coder Social logo

lucasbertola / node-parallel-http Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 1.0 51 KB

Async parallel HTTP / HTTPS requests in NodeJs. HTTP / HTTPS / SOCKS5 / TOR NETWORK / BRUTEFORCE

Home Page: http://lucasbertola.github.io/node-parallel-http

License: MIT License

JavaScript 100.00%

node-parallel-http's Introduction

Node-Parallel-HTTP Build Status

Node-Parallel-HTTP is a JavaScript lib for make lot of different request simultaneously. It can use HTTP, HTTPS. It works with socks5 proxy for, example, use TOR NETWORK. You can use it for retrieving lots of data on the internet. Or for realizes some bruteforce.

#It's easy to use ! You can easily customize which website you want to visit and how to process these pages !

#Process

##Getting started

var parallelHttp = require('node-parallel-http');

function getInfos(numeroCrawler,cb) {
   
   var sites = [{        
         url: 'www.this-page-intentionally-left-blank.org',  
        }];

    var infos = {
        sites:sites,
        numeroCrawler : numeroCrawler
    };

    cb(null, infos);
}

function processPage(page, info, cb) {
    console.log(page);
    cb(null, info);
}

parallelHttp(50,getInfos,processPage,false)
    .then(function(result){
        console.log(result)
    });

##Installation

You will can install node-parallel-http with npm:

npm install node-parallel-http --save

Now you can start to have parallel request .

###Gulp Tasks

  • gulp: runs all the tests and builds the minified and unminified bundles into /dist.
  • gulp build: builds the bundle.
  • gulp test: runs all the tests.

###Demo

####Simple exemple

This is a simple exemple

####Simple exemple multi-page

This is a simple exemple

####Simple bruteForce

This is a simple bruteForce

####Simple use of TorNetwork

This is a simple use of TorNework

##Contribute

Node-Parallel-HTTP is an Open Source project that started in Lyon, French. Anybody in the world is welcome to contribute to the development of the project.

If you want to contribute feel free to send PR's, just make sure to run the default gulp task before submiting it. This way you'll run all the test specs and build the web distribution files.

<3

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.