Skip to content

Instantly share code, notes, and snippets.

View elderlabs's full-sized avatar

Dooley_labs elderlabs

View GitHub Profile
@elderlabs
elderlabs / scdl.py
Last active January 25, 2022 09:30
A Soundcloud playlist scraper for use with Sinusbot. Makes adding bulk lists easier.
#!/usr/bin/python3 -u
"""
A Soundcloud playlist scraper for use with Sinusbot. Makes adding bulk lists easier.
Why pull from Youtube when Soundcloud has album art. It's much nicer. Perhaps better quality; probably not.
Written by: Dooley_labs <dooleylabs.com> | https://gist.github.com/elderlabs/c72df033169322fa069eb9564d7d13bb
"""
import json
import requests
import signal
@elderlabs
elderlabs / ytdl_wrapper.py
Last active May 13, 2022 21:59
A YoutubeDL wrapper, built to diagnose and tweak interactions between Sinusbot and YTDL.
#!/usr/bin/python3 -u
"""
A YoutubeDL wrapper, built to diagnose and tweak interactions between Sinusbot and YTDL.
TL;DR something to fix Soundcloud, given it's prone to breaking quite often.
Written by: Dooley_labs <dooleylabs.com> | https://gist.github.com/elderlabs/51e8e25ca8e85228ffd5e2de7b9b748b
"""
import json
import requests
import subprocess
import sys