1.8.0 • Published 7 years ago
node-bypasser v1.8.0
node-bypasser
Bypass URL shortener websites
Install
npm install --save node-bypasser
Example:
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,...)