Thread Web::Scraper unter anderem (8 answers)
Opened by chmod777 at 2021-06-03 16:14

chmod777
 2021-06-04 06:48
#193345 #193345
User since
2009-09-14
78 articles
BenutzerIn
[default_avatar]
Mein Code ist noch im Anfangs-Stadium - ich lerne noch...:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
# website to scrape
my $urlToScrape = "https://www.finanzen.net/index/dow_jones/werte";
# prepare data
my $names = scraper {
# we will save the urls
process ".table.table-small.table-hover > tr > td > a", 'urls[]' => '@href';
};
# scrape the data
my $res = $names->scrape(URI->new($urlToScrape));
print Dumper $res;

View full thread Web::Scraper unter anderem