Message from @-𝕋𝕖𝕘𝕣𝕒-
Discord ID: 545224852659765258
You can dump arbitrary files on Minds if you append it to a GIF.
Loopholes ftw
> inb4 one user takes up 80% of Minds servers with gif files
@Undead Mockingbird what is this gist?
It's an M3U playlist.
I dumped it out from bandcamp.
I made a script for it.
is it playable on winamp now?
```python
import sys
import json
import os
import re
ytarg = sys.argv[1]
list = re.search('list=(.+)', ytarg)
if list != None:
ytarg = list.group(1)
cmd = "youtube-dl -J --flat-playlist " + ytarg
out = os.popen(cmd).read()
out = out.encode('utf-8')
j = json.loads(out)
fn = j["title"].encode('utf-8') + ".m3u"
fn = fn.replace('/', " ")
f = open(fn, "w")
f.write("#EXTM3U\n")
for e in j['entries']:
f.write("#EXTINF:0," + e['title'].encode('utf-8') + "\n")
f.write(e['url'] + "\n")
```
Go ahead and try it on Winamp. I'd like to see if it works.
If it doesn't, I could modify it to have links to the audio URLs directly, but they might have tokens that expire.
nope
Does that work?
That's a direct link to Bandcamp's CDN.
no. It works in browser
But not in winamp
Ah, that's too bad. Why can't winamp handle that?
I remember listening to shoutcast and such in my Win95 days.
Drove my internet cost through the roof.
The script you just posted - it's making a list of what?
That's for bandcamp.
You give it the URL of an album.
Do you want one for YouTube?
why do you use youtube downloader?
It's the same protocol?
Ah, you are about to find out something awesome.
youtube-dl supports HUNDREDS of different sites.
I only learned that last week.
oh
Do they have a github?
They don't support mako TV...
👌
oh, sorry
there you go
send them a pull request if you need mako TV
it might work already