From f50d5f317027a607912901cbe201461b2209ffe6 Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Sat, 28 Feb 2026 21:57:31 -0500 Subject: [PATCH] remove slop --- AngelThump2VLC.py | 45 +-------------------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) diff --git a/AngelThump2VLC.py b/AngelThump2VLC.py index 8cdef31..faf8b01 100644 --- a/AngelThump2VLC.py +++ b/AngelThump2VLC.py @@ -1,4 +1,3 @@ -from bs4 import BeautifulSoup from requests import post from requests import get import argparse @@ -7,24 +6,8 @@ import subprocess parser = argparse.ArgumentParser() parser.add_argument("-c", help = "[+] AngelThump channel name") -parser.add_argument("-t", help = "[+] getting title for windowsmoviehouse channel", action='store_true') args = parser.parse_args() -def getAT(): - endpoint = 'https://beta.watchw.me/' - r = get(endpoint) - return BeautifulSoup(r.text, 'html.parser') - -ogTitle = getAT().body.find('div', attrs={'id':'original-title'}).text -ogStart = getAT().body.find('div', attrs={'id':'start'}).text -ogEnd = getAT().body.find('div', attrs={'id':'end'}).text -ogRuntime = getAT().body.find('div', attrs={'id':'runtime'}).text -ogOverview = (getAT().body.find('div', attrs={'id':'overview'}).text) - -def getATTitleYear(): - s = getAT().body.find('div', attrs={'id':'title'}).text - return s[s.find('(')+1:s.find(')')] - def getToken(channel): print("[++] getting token") endpoint = 'https://vigor.angelthump.com/' + channel + '/token' @@ -39,36 +22,10 @@ def getHLS(channel): def playVLC(channel): subprocess.Popen(["C:/Program Files/VideoLAN/VLC/vlc.exe",getHLS(channel), "--qt-minimal-view"]) -def ayyLmao(): - print("[+] getting title for windowsmoviehouse channel") - print("[++] -----------------------") - print("[++] "+ ogTitle + " - " + getATTitleYear() + " (" + ogRuntime + ")") - print("[++] Start: "+ ogStart) - print("[++] End: "+ ogEnd) - print("[++] Overview: "+ ogOverview) - print("[++] -----------------------") - if args.c: print("[+] channel: % s" % args.c) - if args.c == "windowsmoviehouse": - ayyLmao() playVLC(args.c) print("[++] opening VLC") -elif args.t: - ayyLmao() else: print("[+] you need to input a channel name bozo '-c'") - print("[++] ..........................................") - print("[+] default channels then:") - choice = input('[+] (1) windowsmoviehouse / (2) kinokomplex \n[+] Put your input: ') - if choice == "1": - ayyLmao() - playVLC("windowsmoviehouse") - print("[++] opening VLC") - elif choice == "2": - playVLC("kinokomplex") - print("[++] opening VLC") - else: - ayyLmao() - playVLC("windowsmoviehouse") - print("[++] opening VLC") \ No newline at end of file + print("[++] ..........................................") \ No newline at end of file