阅读背景:

如何使用Ruby搜索然后解析页面上的结果?

来源:互联网 

How would you use Ruby to open a website and do a search in the search field and then parse the results? For example if I entered something into a search engine and then parsed the results page. I know how to use Nokogiri to find the webpage and open it. I am lost on how to input into the search field and moving forward to the results. Also on the page that I am actually searching I have to click on enter, I can't simply hit enter to move forward. Thank you so much for your help.How would you use Ruby to open a website and do




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: