Giter Club home page Giter Club logo

streamcleaner's Introduction

StreamCleaner

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

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.

streamcleaner's People

Contributors

redoste avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.