Forums > MaxMSP

Internet data retrieval with MAX

May 9, 2009 | 10:35 am

Hello. I was wondering if it could be possible to get data from a counter, for example, or other kind of streaming data from any website, with MAX, in order to be able to use the data retrieved in realtime in a MAX patch. thx in advance.

May 9, 2009 | 11:00 am

You can grab the source code from a webpage using [jit.uldl] and then parse it for the bits you want using [jit.str.regexp]. See the patch below for an example.


— Pasted Max Patch, click to expand. —
May 9, 2009 | 6:41 pm

wow! that is nice! …so then, couldn’t all the developers of standalones complaining about having better copy-protection for standalones use this exact patch to detect registered users? (or does the IP address change? …i’ll have to try it… i am so NOT web-savvy…)

May 10, 2009 | 4:31 pm

No, that wouldn’t work. IP add. changes based on your connection, not your computer. At risk of beating a dead horse, the big challenge with copy protection in Max 5-based patches is not so much creating a registration scheme , it’s that the Max5 collective format is so easy to search through using a text editor, so it’s that much easier to search and defeat a reg scheme.
That boringness aside, here’s another example of using the internet in Max: a flickr ripper – it finds the high-res versions of photos in a flickr photostream, downloads them, and then displays them. I’ve probably posted this in the forum before, so forgive the repetition.
There’s other information on how to integrate into our video software, but you can just download the patch from that page.


Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP