PHP, Parse javascript and extract flash object!
I have got a list of many web page URLs.. and all of them contain videos. These videos are embed via simple HTML <object> and <embed> tags. I can extract these tags by some RegEx techniques.

Now the problem is that majority of them use Javascript to embed these elements! And as they are from different websites.. They dont have any specific pattern.

The only thing i can do now is to make my "PHP execute the Javascript". And i'm stuck in this task..

I want this extraction to be done via PHP script. Ive tried jParser and jTolkenizer but i cant get it to work in this case.

Any help would be appreciated.

Thanks.
PHP, Parse javascript and extract flash object!
===

I have got a list of many web page URLs.. and all of them contain videos. These videos are embed via simple HTML <object> and <embed> tags. I can extract these tags by some RegEx techniques.

Now the problem is that majority of them use Javascript to embed these elements! And as they are from different websites.. They dont have any specific pattern.

The only thing i can do now is to make my "PHP execute the Javascript". And i'm stuck in this task..

I want this extraction to be done via PHP script. Ive tried jParser and jTolkenizer but i cant get it to work in this case.

Any help would be appreciated.

Thanks.