HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/libweb-scraper-perl/examples/jp-playstation-store.pl
#!/usr/bin/perl
use strict;
use Web::Scraper;
use URI;
use YAML;

my $stuff   = URI->new("http://www.jp.playstation.com/store/");
my $scraper = scraper {
    process "#Sinfo p a", 'news[]' => { link => '@href', title => 'TEXT' };
};
my $result = $scraper->scrape($stuff);

print YAML::Dump $result;