Shawn, I had not heard of the mechanize lib, but sure enough it works 
great. Thank you for posting that, much appreciated!

Thanks
-Andy


Shawn Anderson wrote:
> This worked for me:
>
> require 'rubygems'
> require 'mechanize'
>
> user = "user_here"
> pw = "password_here"
> agent = WWW::Mechanize.new
> page = agent.post 'http://youtube.com/signup',
> {"username"=>user,"password"=>pw,"current_form"=>"loginForm","action_login"=>"Log+In"}
> page = agent.get 'http://youtube.com/'
> # this returns true, showing you are logged in
> p page.body.to_s.include?("/user/#{user}")
>
>
>
> On Thu, Apr 3, 2008 at 6:28 PM, Andrew Cowan <icculus / gmdstudios.com> wrote:
>
>   
>> Dan Diebolt wrote:
>>
>>     
>>> Try this: http://rubyforge.org/projects/youtube
>>>
>>>
>>>
>>>       
>> Dan, like the youtube-g lib this one also provides no means for
>> authenticating a Youtube account. Though this does provide some interesting
>> options that can help me in some respects, it doesn't provide me with the
>> same functionality that I can have as if I were actually logged into the
>> website, which I am trying to emulate.
>>
>> Thanks
>> -Andy
>>
>>
>>     
>
>