Skip to content

Instantly share code, notes, and snippets.

View logixism's full-sized avatar
👋

logix logixism

👋
View GitHub Profile
@logixism
logixism / rbxaudiodl.py
Created September 9, 2024 20:21
A bad CLI tool to download Audio Assets from ROBLOX
import typer
import os
import requests
from typing import List
ASSET_DELIVERY_ENDPOINT = "https://assetdelivery.roblox.com/v1/assets/batch"
ASSET_DETAILS_ENDPOINT = (
"https://apis.roblox.com/toolbox-service/v1/items/details?assetIds="
)
@logixism
logixism / PyAudioDevice.py
Last active September 8, 2024 22:10
Audio control using python + AudioDeviceCmdlets.dll
from subprocess import run
from re import split
class PyAudioDevice:
@staticmethod
def _exec_powershell(cmd):
result = run(["powershell", "-Command", cmd], capture_output=True, text=True)
if result.stderr != "":