Method to parse HTML document in Ruby?

后端 未结 4 2037
抹茶落季
抹茶落季 2020-11-29 09:03

like DOMDocument class in PHP, is there any class in RUBY (i.e the core RUBY), to parse and get node elements value from a HTML Document.

4条回答
  •  情深已故
    2020-11-29 09:43

    You should check out hpricot. It's exceedingly good. It's not 'core' ruby, but it's a commonly used gem.

提交回复
热议问题