tor-ejector
Tor-ejector is an express middleware that reject request from tor.
Demo
Test url tor-ejector.herokuapp.com
# create tor proxy with docker docker run -d -p 5566:5566 --env tors=25 mattes/rotating-proxy # test with ... curl https://tor-ejector.herokuapp.comcurl --proxy 127.0.0.1:5566 https://tor-ejector.herokuapp.com
Installation
npm install tor-ejector
Usage
var express = ;var app = ;var torEjector = ; app;
Options
Name | Default | Description |
---|---|---|
timeInterval | 1800000 (30min) | time interval between each update of TOR addresses |
message | 'Unauthorized' | reply message at a request |
Example
var express = ;var app = ;var torEjector = ; app; app; app;