stMind

about Tech, Computer vision and Machine learning

2007-10-02から1日間の記事一覧

 今度はNHKスペシャルの放送予定を取り出してみる

今回はXPathを使ったよ。nhk_scraper.pl #! /usr/bin/perl use strict; use warnings; use Web::Scraper; use URI; use YAML; my $uri = 'http://www.nhk.or.jp/special/schedule/index.html'; my %nhk_scraper; $nhk_scraper{'tweek'} = scraper { process …