Mechanize: 404 => Net::HTTPNotFound

  • Thread starter Andru Mccracken
  • Start date
A

Andru Mccracken

Hi all,
I'm able to use this script to enter my username and password, click a
link and get to the page i need, but when I click the checkbox that I
need and try to submit the page, I get this message: httpNotFound.

I've been stewing about this for months. I'm not excited about other
people picking through my nasty, amateurish code, but I am at wits end.

Can you help me?

here are the results i get:
ruby troubleweather.rb
c:/program
files/ruby/lib/ruby/gems/1.8/gems/mechanize-0.9.2/lib/www/mechanize.rb:229:in
`get': 404 => Net::HTTPNotFound (WWW::Mechanize::ResponseCodeError)
from c:/program
files/ruby/lib/ruby/gems/1.8/gems/mechanize-0.9.2/lib/www/mechanize.rb:340:in
`submit'
from troubleweather.rb:41
Exit code: 1

Thanks,
Andru

Attachments:
http://www.ruby-forum.com/attachment/3641/troubleweather.rb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top