From: Shawn Anderson Date: 2008-04-04T10:53:20+09:00 Subject: Re: Seeking some guidance with net/http ------=_Part_449_17168521.1207273997614 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 > > ------=_Part_449_17168521.1207273997614--