Anemoneのストレージを変更するシリーズ、ついでにSQLite3とMongoDBも書いておきます。 AnemoneでSQLite3を利用する AnemoneでSQLite3を利用するには、オプションで:storage => Anemone::Storage::SQLite3()と指定するだけです。引数を渡さなければ、anemone.dbという形式のsqlite3ファイルが作成されます。プログラムとしては、次のような形ですね。 require 'anemone' urls = [] urls.push("http://www.yahoo.co.jp") opts = { :storage => Anemone::Storage::SQLite3(), :obey_robots_txt => true, :depth_limit => 0 } Anemone.crawl(urls, opt