Last active
August 29, 2015 14:03
-
-
Save kazgoto/712bbaf8f6b06e977820 to your computer and use it in GitHub Desktop.
AWS Service Health DashboardからRSSフィードを抽出(2014.7.7版)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
doc = Nokogiri::HTML(open('http://status.aws.amazon.com/')) | |
doc.xpath('//td[@class="bb center top"]/a').each do |link| | |
puts 'http://status.aws.amazon.com/' + link.attribute('href').value | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment