Hi,
I'm trying to write a script, which will submit our videos to YouTube, without having to do it manually.
I've tried this script I found on the internet:
http://www.catonmat.net/download/ytup.perl
But it looks like they have had a major re-shuffle of the layouts etc. I've managed to get it to login by changing $login_url to :
my $login_url = 'https://www.google.com/accounts/ServiceLoginAuth?service=youtube';
..and the login codes to:
my $res = $ua->post($login_url,
{
current_form => 'gaia_loginform',
Email => $opts{l},
Passwd => $opts{p},
action_login => 'Sign In'
}
);
Now, printing out $res->content shows the page I wanna see. However, when I goto the "upload" feature, it seems they have done some major change arounds, which I can't work out :(
Any suggestions, or a better way I coudl do this?
TIA!
Andy