Bypass URL shortener websites
npm install --save node-bypasser
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/
npm run test
Unit tests may occasionally fail when there are network connectivity issues or when services' servers give bad temporary responses.
- 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,...)