This file contains 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
$ ffmpeg -r 5 -i <INPUT_VIDEO> -map 0 -vcodec libx264 -f segment -segment_list out.m3u8 | |
\ -segment_time 10 -segment_list_flags +live -segment_wrap 32 out%02d.ts | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script src="https://cdn.jsdelivr.net/hls.js/latest/hls.min.js"></script> |
This file contains 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
javascript:(function(){ | |
var re = new RegExp("^magnet\:\?"); | |
var row = document.getElementsByClassName("odd")[0]; | |
var links = row.getElementsByTagName('a'); | |
for (i = 0; i < links.length; i++) { | |
if (re.test(links[i])) { | |
window.location = links[i]; | |
return; | |
} |
This file contains 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
javascript:(function(){ | |
var elem = {}; | |
var d = document; | |
var modals = [].slice.call(d.getElementsByClassName("lnmodal")); | |
while(modals.length){ | |
elem = modals.pop(); | |
elem.parentNode.removeChild(elem); | |
}; | |