Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/matteocontrini/node-bypasser
- Owner: matteocontrini
- License: mit
- Archived: true
- Created: 2015-04-05T19:44:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T22:11:11.000Z (almost 7 years ago)
- Last Synced: 2024-04-16T08:33:35.971Z (5 months ago)
- Topics: javascript, node-bypasser, nodejs, shortener
- Language: JavaScript
- Size: 104 KB
- Stars: 34
- Watchers: 9
- Forks: 26
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)