Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Mechanize: 404 => Net::HTTPNotFound
Andru Mccracken
5/1/2009 10:45:00 PM
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-...
attachment/3641/trouble...
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Mechanize: 404 => Net::HTTPNotFound
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password