我需要解析一個網站陣列。我要解析的JavaScript部分看起來是這樣的:紅寶石Nokogiri Javascript解析
_arPic[0] = "http://example.org/image1.jpg";
_arPic[1] = "http://example.org/image2.jpg";
_arPic[2] = "http://example.org/image3.jpg";
_arPic[3] = "http://example.org/image4.jpg";
_arPic[4] = "http://example.org/image5.jpg";
_arPic[5] = "http://example.org/image6.jpg";
我的東西得到整體的JavaScript這樣的:
product_page = Nokogiri::HTML(open(full_url))
product_page.css("div#main_column script")[0]
有一種簡單的方法來分析所有的變量?