Rosetta Code/Tasks without examples: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
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 = "http://rosettacode.org/wiki/Category:Programming_Tasks";
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: "http://rosettacode.org/wiki/{$title}";
my $html = $ua.get: "https://rosettacode.org/wiki/{$title}";


# Filter out the actual task description
# Filter out the actual task description