Skip to content

Instantly share code, notes, and snippets.

@pokla4
pokla4 / ng_downloader.py
Created October 27, 2025 21:38 — forked from Pixelsuft/ng_downloader.py
Newgrounds Music Downloader
import os
import sys
import requests
def parse_song(song_id: int) -> bytes:
url = f'https://www.newgrounds.com/audio/listen/{song_id}'
resp = requests.get(url)
cur_line = ''
for line in resp.text.split('\n'):