Welcome coders,
I have question on my private server i have little script what i use for downloading Youtube videos.
Today i notice that Youtube have changed something, and downloading stop working.
I was extrecting download url from:
$page = body (source), of page with embed video on youtube
pregmatch('/&video_id=([a-zA-Z0-9-%_]*)&/', $page, $match);
$var_id = $match[1];
pregmatch('/&t=([a-zA-Z0-9-%_]*)&/', $page, $match);
$var_t = $match[1];
$url = "";
$url .= $var_id;
$url .= "&t=";
$url .= $var_t;
$url = "http://www.youtube.com/get_video?video_id=".$url;
And something is now fail ;)
That's how look new download url...
PS: not only i have that problem, i see that many users trying download videos but i didn't find new solution... everything is before that "update"