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 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=" | |
) |
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 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 != "": |