1
2
** GET http://www.youtube.com/get_video_info?video_id=xxxxxxxxxxx ==> 301 Moved Permanently
** GET https://www.youtube.com/get_video_info?video_id=xxxxxxxxxxx ==> 200 OK (1s)
$res->{_previous}{_rc}
2014-08-06T16:49:31 KuerbisIch hoffe mal, das ändert sich nicht alle zwei Tage:
1 2 3 4
my $ua = LWP::UserAgent->new(); my $info_url = URI->new( 'http://www.youtube.com/get_video_info' ); $info_url->query_form( 'video_id' => $video_id ); my $res = $ua->get( $info_url->as_string );