Perl
#!/usr/bin/perl use strict; use warnings; use Web::Scraper; use URI; use utf8; use HTTP::Date; use XML::TreePP; use XML::FeedPP; # URL my $uri = 'アドレス'; # RSS作成 my $feed = XML::FeedPP::RSS->new(); my $now = time(); # RSSの内容 $feed-…
#!/usr/bin/perl use strict; use warnings; use Web::Scraper; use URI; # use YAML; use XML::TreePP; use XML::FeedPP; my $uri = 'https://www.police.pref.ehime.jp/sokuho/sokuho.htm'; my $scraper = scraper { process '#main2 > tbody > tr:nth-chi…
Web::Scraper - search.cpan.org use Web::Scraper; - 今日のCPANモジュール(跡地) Web Scraper Shibuya.pm tech talk #8 from Tatsuhiko Miyagawa www.slideshare.net sudo apt-get install libweb-scraper-perl sudo apt-get install libxml-treepp-perl…
#!/usr/bin/perl use strict; use XML::TreePP; use XML::FeedPP; my $feed = XML::FeedPP::RSS->new(); #RSS URL #RSSが取得できない場合エラーになるのでeval eval {$feed->merge( "https://www.kimonolabs.com/api/rss/51jpctr2?&apikey=Hpo3uxKTJJA2W55l…
[Perl] XML::FeedPP - RSS・RDF・Atomフィードの解析・生成・変換・結合sudo apt-get install libxml-feedpp-mediarss-perl #!/usr/bin/perl use strict; use XML::TreePP; use XML::FeedPP; my $feed = XML::FeedPP::RDF->new(); #RSS URL $feed->merge( "h…