Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Bypass URL shortener websites
https://github.com/matteocontrini/node-bypasser

javascript node-bypasser nodejs shortener

Last synced: about 1 month ago
JSON representation

Bypass URL shortener websites

Awesome Lists containing this project

README

        

# node-bypasser
[![Build Status](https://travis-ci.org/matteocontrini/node-bypasser.svg?branch=master)](https://travis-ci.org/matteocontrini/node-bypasser)
[![npm version](https://badge.fury.io/js/node-bypasser.svg)](https://badge.fury.io/js/node-bypasser)

Bypass URL shortener websites

## Install

```bash
npm install --save node-bypasser
```

## Example:

[Try on Tonic](https://tonicdev.com/npm/node-bypasser)

```javascript
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

```bash
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,...)

## [Request a new service](https://github.com/matteocontrini/node-bypasser/issues)