How can I search for a word in the HTML generated by the Restclient::Response module?
$getresponse = RestClient.get (url)
html=$getadsresponse.body
puts html
I can see the HTML that gets generated, but how do I search for words within that HTML?
Use an HTML parser to correctly interpret the HTML. Using Nokogiri with xpath, for example: