看板 Ruby 關於我們 聯絡資訊
※ 引述《jirlong (.)》之銘言: : 若想要parse 網路上例如yahoo拍賣或像簿的data的話, : 用php、ruby、python哪個比較好呢? : 雖然想說想說不該在民進黨的地盤問民進黨和國民黨哪個比較好, : 不過等待解答的我還是硬著頭皮問了。 btw 如果用ruby的話 有這個lib好像不錯用 http://ariel.rubyforge.org/ Ariel is a library that allows you to extract information from semi-structured documents (such as websites). It is different to existing tools because rather than expecting the developer to write rules to extract the desired information, Ariel will use a small number of labeled examples to generate and learn effective extraction rules. 簡單的說 就是你定義好文件的結構 然後丟幾個範例給它 之後所有一樣結構的網頁(yahoo拍賣跟相簿應該都一樣結構吧) 它都會自己去解析 好像很酷 yahooooo -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.170.70.190