Rosetta Code/Tasks without examples: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: New URL for relocated site) |
||
Line 672: | Line 672: | ||
# Get list of Tasks |
# Get list of Tasks |
||
say "Updating Programming_Tasks list..."; |
say "Updating Programming_Tasks list..."; |
||
my $page = " |
my $page = "https://rosettacode.org/wiki/Category:Programming_Tasks"; |
||
my $html = $ua.get($page).content; |
my $html = $ua.get($page).content; |
||
my $xmldoc = parse-html($html, :TAG<div>, :id<mw-pages>); |
my $xmldoc = parse-html($html, :TAG<div>, :id<mw-pages>); |
||
Line 694: | Line 694: | ||
# Get the raw page |
# Get the raw page |
||
my $html = $ua.get: " |
my $html = $ua.get: "https://rosettacode.org/wiki/{$title}"; |
||
# Filter out the actual task description |
# Filter out the actual task description |