Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

redoste/StreamCleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StreamCleaner

A bookmarklet for extract direct links of videos on streaming platforms.

⚠️ DON'T USE THIS ANYMORE. PREFER youtube-dl.

Feature

Compatible streaming platforms:

  • RutubeRutube
  • OpenloadOpenload
  • StreamangoStreamango
  • Mystream.laMystream.la

If you use StreamCleaner on a non-compatible web site, it will search for iframes and will list it.

Installation and usage

Create a new bookmark in your browser and copy this code in the URL field:

javascript:(function(){let a=function(b,c){let d;if("undefined"!=typeof XMLHttpRequest)d=new XMLHttpRequest;else try{d=new ActiveXObject("Microsoft.XMLHTTP")}catch(f){return void alert("Use a recent browser. Please...")}d.onreadystatechange=function(){4>d.readyState||200!==d.status||4===d.readyState&&c(d.responseText)},d.open("GET",b,!0),d.send(null)};a("https://raw.githubusercontent.com/redoste/StreamCleaner/master/bin/streamcleaner.min.current.js",function(b){a("https://raw.githubusercontent.com/redoste/StreamCleaner/master/bin/"+b,function(c){let d=document.createElement("script");d.innerHTML=c,document.getElementsByTagName("body")[0].appendChild(d)})})})();

To use it, click on the bookmark when you are in the we site were you want to extract the video.

Build

To manually build StreamCleaner you need nodejs and npm or yarn.

First download the source code of StreamCleaner: If you have git use git clone

git clone https://github.com/redoste/StreamCleaner.git

Else you can just download the zip and extract it.

Then you need to download dependencies for building: Go to the folder where you have the StreamCleaner source code using cd and execute:

npm install

If you use npm. If you prefer yarn execute:

yarn

When all the dependencies have been downloaded you can start the build:

npm run-script build

Or

yarn build

if you use Yarn.

The bin folder contain the output of the compilation. There are 2 files:

  • steamcleaner.js The bundle containing all the Javascript source
  • streamcleaner.min.js Minified version of the bundle

Credits

A lot of extraction technique and regular expression have been inspired of youtube-dl

Warning

Some Website can ban the usage of this kind of tool. You are the only responsible of the usage of StreamCleaner.

About

⬇️ 🎞️ A bookmarklet for extract direct links of videos on streaming platforms. ⚠️ DON'T USE THIS ANYMORE. PREFER youtube-dl.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published