mechanize create google alert in ruby on rails -


I'm trying to create a Google Alert in Ruby. I am using mechanization.

  @web_agent = MacNetJet New Page = @ Web_Guent.T. 'https://www.google.com/alerts' form = page.form_with: name = & gt; Form 'F1' Q = "search keyword"  

Getting me the zero form value.

I'm getting the error:

  Undefined method `q = for zero: NilClass`  

Google changed the html That's why I need some hacks.


Comments

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -