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
Post a Comment