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 http.client | |
import json | |
import hmac | |
import hashlib | |
import time | |
# Function to get the access token | |
def get_access_token(): | |
# Thank you to https://github.com/Aran404/SpotAPI/blob/main/spotapi/client.py for parts of the following code. |
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 os | |
import requests | |
import json | |
import re | |
from bs4 import BeautifulSoup | |
from mutagen import File as MutagenFile | |
from mutagen.mp4 import MP4 | |
# --- Configuration for A2 extension and gap text --- | |
def load_config(): |
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
# To get a MusixMatch token, download the app | |
# Go to settings (Top right corner) > Scroll all the way down > click "Get help" > click "Copy debug info" | |
# [UserToken] is your API key. | |
# After this finishes, you can fill in the rest from libLRC database using https://github.com/tranxuanthang/lrcget | |
import os | |
import requests | |
import json | |
import re |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>IMDB Search</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
background-color: #f4f4f4; | |
color: #333; |
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 requests | |
import re | |
from datetime import datetime | |
def extract_appid(): | |
url = "https://openweathermap.org/themes/openweathermap/assets/vendor/owm/js/weather-app.cb2cf0fb.js" | |
try: | |
response = requests.get(url) | |
response.raise_for_status() # Raise an error for bad status codes | |
content = response.text |
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 requests | |
from bs4 import BeautifulSoup | |
import urllib.parse | |
import re | |
import json | |
def get_bearer_token(): | |
fetch_url = "https://open.spotify.com" | |
response = requests.get(fetch_url) |
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 Foundation | |
import FoundationXML | |
class XMLDictionaryParser: NSObject, XMLParserDelegate { | |
private var dictionaryStack: [[String: Any]] = [] | |
private var textInProgress: String = "" | |
func parse(data: Data) -> [String: Any]? { | |
let parser = XMLParser(data: data) | |
parser.delegate = self |
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 requests | |
import re | |
import base64 | |
from bs4 import BeautifulSoup | |
# Function to extract the first LYRICID from the HTML response | |
def extract_lyric_id(html_content): | |
soup = BeautifulSoup(html_content, 'html.parser') | |
table = soup.find('table', id='lyrics_list') | |
if table: |
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
# Thank you to https://github.com/asdfzxcvbn/update-notifier for figuring out how to force the iTunes API, to not use cache. | |
import os | |
import requests | |
import subprocess | |
import json | |
# Configurations | |
version_file = "app_version.txt" # The text file where the version number will be saved will be prefixed with the apps BundleID | |
webhook_url = "DISCORDWEBHOOK" # Your Discord webhook URL | |
app_bundleID = "com.google.ios.youtube" # The BundleID for the app you want updates for. You can get the BundleID from here https://armconverter.com/appinfo |
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
<# | |
Version 3 | |
To run this script, open a new Command Prompt session and execute the following command: | |
powershell -ExecutionPolicy Bypass -File "D:\Path\To\Your\Discord Sideloadly Patcher.ps1" -ipaFilePath "D:\Path\To\Your\Discord.ipa" | |
Replace "D:\Path\To\Your\Discord Sideloadly Patcher.ps1" with the full path to this script, and "D:\Path\To\Your\Discord.ipa" with the full path to your Discord IPA file. | |
Using -ExecutionPolicy Bypass allows the script to run without changing the execution policy for the session, ensuring successful execution. | |
#> |