Last active
July 12, 2019 14:57
-
-
Save lshaf/84fc78e8d8db14d734996c8b7fd29633 to your computer and use it in GitHub Desktop.
Downloader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Anime Series Downloader | |
// @namespace https://gist.github.com/lshaf | |
// @version 1.0.1 | |
// @description try to take over the world! | |
// @author L Shaf | |
// @match http*://animeseries.io/watch/* | |
// @match http*://*.animeseries.io/watch/* | |
// @run-at document-end | |
// @grant none | |
// @downloadURL https://gist.github.com/lshaf/84fc78e8d8db14d734996c8b7fd29633/raw/df9e757ca451ed6397c35cfb3ab09f2886baea24/animeseries_downloader.user.js | |
// @updateURL https://gist.github.com/lshaf/84fc78e8d8db14d734996c8b7fd29633/raw/df9e757ca451ed6397c35cfb3ab09f2886baea24/animeseries_downloader.user.js | |
// ==/UserScript== | |
// use tempermonkey to use this script | |
// https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en | |
// after you download it, add this scripts to tempermonkey | |
(function() { | |
'use strict'; | |
console.log("DOWNLOADER IS RUNNING"); | |
let core = $(".play-video.openload"); | |
if (core.length < 1) return; | |
let code = core.data('video'); | |
let url = "https://oload.stream/f/" + code; | |
let img = $('[alt="icon-openload"]').attr("src"); | |
let btnDownload = $("<a>", { | |
href: url, | |
target: "_blank" | |
}); | |
btnDownload.html("OL Download") | |
btnDownload.css({ | |
position: "fixed", | |
display: "inline-block", | |
left: 50, | |
bottom: 50, | |
backgroundColor: "#009fdf", | |
padding: "8px 13px", | |
color: "white", | |
}) | |
btnDownload.appendTo("body") | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment