nsmle / ouo-bypass

A PHP library to bypass short links ouo.io or ouo.press

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ouo.io Bypass

A PHP library to bypass short links ouo.io or ouo.press.

If you like or use this package, please share your love by starring this repository, or follow @nsmle.

Installation

composer require nsmle/ouo-bypass

Usage

require 'vendor/autoload.php';

use Nsmle\OuoBypass\Api;

$ouo = new Api();
$ouo->setOriginUrl("https://ouo.press/ZGawzS");
$ouo->bypass();
$link = $ouo->getDestinationUrl();

echo $link;

Or if you want something simpler you can try some code like below:

$ouo = new Api("https://ouo.press/ZGawzS");
$ouo->bypass();
$link = $ouo->getDestinationUrl();

or

$ouo = new Api("https://ouo.press/ZGawzS");
$link = $ouo->bypass()['destination-url'];

License

Licensed under the terms of the MIT License.

About

A PHP library to bypass short links ouo.io or ouo.press

License:MIT License


Languages

Language:PHP 100.0%