numbers from HTML source

plumbum's icon

hello,
I would like to read numbers from web - in html code. The page is refreshed every minute,. I would like to read 10 numbers that are all the time on the same place in the code,. bring them just as numbers in to the max/msp code and work with them,.
Do someone know how to do it? Do I have to use some external script (php,.) or I can do it just with max?
thanks lot! :)

Roby Steinmetzer's icon
plumbum's icon

oh, ok,. but don't be scared about the content: it is a porn page,. my project is installation conected on porn industry on the internet,. object in gallery will shake according to the activity on some of the biggest porn industry pages,. simply: "Its about the collective response",.

adress:
www.youporn.com/most_viewed/today

data I want to get:
>> first 10 videos > exmpl. first: 1,853,362 views
                        

Carmen Luvana in Riders

10min 56sec

1,853,362 views

5.00 / 5.00 rating (today)

thanks! :)

plumbum's icon

ok,. so for example,. same princip, differant page:

http://www.seznam.cz
down, on the right side,. there are economical informations,. changing all the time,.
how to get the number from the html code on web in to my max patch? :)

Emmanuel Jourdan's icon
Jeremy's icon

Even if you're not on Leopard, install the new version. It's probably
quite a bit more stable than the old version.

jb

Am 14.12.2007 um 15:12 schrieb Emmanuel Jourdan:

> The patch bellow show how to use jit.uldl to download a file (if
> you're on leopard, install the new version Jeremy posted a few days
> ago on the incremental download page). Jit.textfile stores the file
> as a matrix, and jit.str.regexp does the searching.

plumbum's icon

aha, so I see I will need Jitter for this operation too,. :( I bought max/msp in student discount,. :] but without jitter,. so there is no other way how to do it just with max/msp? :)
Thanks to all of you for your help,.
PS: mr. Bernstein, we met in Prague, at FAMU, on Ciant wrkshp, two yrs ago,. :)