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
| import requests | |
| import configparser | |
| s = requests.session() | |
| from sys import exit | |
| import argparse | |
| parser = argparse.ArgumentParser(prog='piTunes',formatter_class=argparse.RawTextHelpFormatter, description='This python script is the work of @spookyahell.\n'+ |
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
| from UA import firefox | |
| from time import sleep | |
| import requests | |
| class nineKWclientException(Exception): | |
| pass | |
| class nineKWclient(object): | |
| def __init__(self, APIKEY): | |
| self.APIKEY = APIKEY |
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
| import requests | |
| from sys import argv, exit as sexy_exit | |
| #~ Script to update the password on a NZBget server by finding a very specific username | |
| def setPassword(printX, serverURL = None, username = None, password = None, servername = None): | |
| r = requests.post(serverURL, json = {'method':'loadconfig','params':[]}) | |
| if r.status_code != 200: | |
| printX('Assuming auth misconfig') |
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
| #!/usr/bin/python3.6 | |
| from subprocess import call | |
| from shutil import which | |
| from sys import exit as sexy_exit, argv | |
| from re import fullmatch | |
| from os import environ | |
| from os.path import join as path_join, isfile | |
| command = 'python3.6' |
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
| from subprocess import call | |
| from time import sleep | |
| WAIT_TIME = 5 * 60 | |
| def download(): | |
| x = call(largs) | |
| if x == 1: | |
| if args.relentless: | |
| try: |
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
| import requests | |
| import re | |
| import json | |
| s = requests.Session() | |
| site = 'https://www.fosshub.com/' | |
| downloadAPP = 'MKVToolNix.html' | |
| downloadsite = site + downloadAPP |
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
| 1 | |
| 00:00:01,000 --> 00:00:03,000 | |
| [NO SUBTITLES] |
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
| import re | |
| from tkinter import Tk | |
| AdDocId = None | |
| text = Tk().clipboard_get() | |
| for line in text.split('\n'): | |
| x = re.search('"ad_docid": "(.+)"', line) | |
| if x: | |
| AdDocId = x.group(1) |
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
| from subprocess import check_output | |
| import re | |
| from shutil import which | |
| def getMaxConnPerServer(): | |
| x = which('aria2c') | |
| if x is None: | |
| print('You have to add aria2c to your path first') |
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
| import requests | |
| from requests.exceptions import ProxyError | |
| import time | |
| from time import sleep | |
| from importlib import util | |
| pyvlc = False | |
| if util.find_spec('vlc') != None: | |
| from vlc import MediaPlayer, State |