Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

matteocontrini/node-bypasser

Repository files navigation

node-bypasser

Build Status npm version

Bypass URL shortener websites

Install

npm install --save node-bypasser

Example:

Try on Tonic

var Bypasser = require('node-bypasser');

var w = new Bypasser('http://adf.ly/1DX0XD');
w.decrypt(function(err, result) {
	console.log('Decrypted: ' + result);
});

The output will be

Decrypted: https://github.com/matteocontrini/node-bypasser/

Testing

npm run test

Travis CI build is failing?

Unit tests may occasionally fail when there are network connectivity issues or when services' servers give bad temporary responses.

Supported websites

  • Adf.ly
  • Linkbucks.com (all alternative domains)
  • Shorte.st (sh.st, u2ks.com, jnw0.com, digg.to, dh10thbvu.com)
  • AdFoc.us
  • Smsh.me
  • P.pw
  • LinkShrink.net
  • Link5s.com
  • Bc.vc
  • NowVideo and AuroraVid (MP4/FLV video direct link will be extracted)
  • All generic services that use simple 301/302 redirect (goo.gl, bit.ly, t.co,...)