RubyãRã§ã¹ã¯ãªãããæ¸ãã¦å¯è¦åãã¦ã¿ãï¼ tenki.jpã®å°éæ å ±ãåå¾ããRubyã¹ã¯ãªãã (fetch_quake_info.rb) 以ä¸ã¯2011/3/11 0:00ããç¾å¨æå»ã¾ã§ã®tenki.jpã®å°éæ å ±ãåå¾ããRubyã¹ã¯ãªããï¼Nokogiriã使ã£ã¦ã¹ã¯ã¬ã¤ãã³ã°ããï¼ #!/usr/bin/env ruby # -*- coding: utf-8 -*- require "open-uri" require "nokogiri" puts "datetime\tplace\tmagnitude" i = 1 cont = true stop = Time.parse(ARGV[0] || "2011/03/11 0:00") while cont doc = Nokogiri::HTML(URI("http://tenki.jp/earthquake/en
{{#tags}}- {{label}}
{{/tags}}