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
import json | |
import glob | |
import os | |
import re | |
import random | |
## Get Settings. | |
dirname = os.path.dirname(os.path.realpath(__file__)) | |
f = open(f'{dirname}/settings.json') | |
data = json.load(f) |
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
// Change to the resolution you desire. "480p", "720p", "1080p". | |
var res = "1080p"; | |
var x = document.getElementsByClassName("hs-shows")[0]; | |
var li = x.childNodes; | |
var myRegexp = /<a title="Magnet Link" href="(.*)">Magnet/g; | |
var x = document.getElementsByClassName("hs-shows")[0]; | |
var li = x.childNodes; | |
var links = ""; | |
var btn = document.getElementsByClassName("more-button")[0]; |
This file has been truncated, but you can view the full file.
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
public class NaturalNumberSwitch { | |
public static void main(String args[] ) throws Exception { | |
if((16*4) == 61) { | |
System.out.println(16); | |
return; | |
} | |
if((26*4) == 62) { | |
System.out.println(26); | |
return; | |
} |