Is there any way to obtain all the URLs from xiph.org? Is there a way to query directly the site to obtain a specified radio or a specified category of radios from a web application?
How to obtain all the radio urls of xiph.org
1k Views Asked by user1574467 At
2
There are 2 best solutions below
0
On
Xiph.org is working on a JSON API (#tkt1958) now. The encoding is still vastly broken due to mysqls CONCAT(json_object(m.stream_name... query.
But even with a regex JSON extraction it's speedier and easier to use than processing the old yp.xml.
Okay I've had a look at a few of those streams on that site.
If you open the
XSPFfiles in a text editor, you get some XML, with the streams wrapped in the<location>tab.You're going to have to setup some kind of crawler for this. I'll just make a simple one for you.
I just done it all for you -_-. But yeah, that should work.
Oh and one more thing, If you are being silly and stealing those streams when you shouldn't be, I will not be held responsible.