<div class="one"> ..... </div> <div class="one"> ..... </div> <div class="one"> ..... </div> <div class="one"> ..... </div>
我如何选择Nokogiri的第二或第三个div,其类是一个?
page.css('div.one')[1] # For the second page.css('div.one')[2] # For the third