cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Maintaining Page 'State'/Connection

From: Stephen Pynenburg <spynenburg_at_gmail.com>
Date: Mon, 7 Apr 2008 19:59:45 -0400

Hi all,
   I'm trying to make a PHP script that will get videos from DailyMotion.
The idea is pretty simple: use cURL to load the page, parse it for the video
file link, then go to the link.
However (as always) there's a problem: the page generates a unique for each
time you visit it, and the link shows up as 'expired' if the ID is no longer
valid. If done manually, you can do it by staying on the page, without
refreshing or anything, then entering the link.

Basically, I'm wondering how I can simulate this behaviour of just 'staying
on the page'.

Thanks in advance,
Stephen P.

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-04-08