最高気温:12℃ 最低気温:3℃ _ Web::ScraperとPlaggerで鉄道運行状況を取得する JRの列車遅延情報を携帯にメールするようにしてみたのだが、私鉄の運行状況も取得したくなったので、私鉄をカバーしている鉄道運行情報 - livedoor 路線案内をスクレイプするスクリプトを書いてみた。 書いたものはCodeReposにcommit済み。 Plaggerから携帯にメールを飛ばす場合のYAMLはこんな感じ。 plugins: - module: Subscription::Config config: feed: - url: 'script:/path/to/plagger/assets/plugins/CustomFeed-Script/transit_livedoor_com_traffice_info.pl http://transit.livedoor.com/tr