Skip to content

Instantly share code, notes, and snippets.

@lshaf
Last active July 12, 2019 14:57
Show Gist options
  • Save lshaf/84fc78e8d8db14d734996c8b7fd29633 to your computer and use it in GitHub Desktop.
Save lshaf/84fc78e8d8db14d734996c8b7fd29633 to your computer and use it in GitHub Desktop.
Downloader
// ==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