Rosetta Code/Tasks without examples: Difference between revisions
Content added Content deleted
Line 351: | Line 351: | ||
body = String(HTTP.get(page).body) |
body = String(HTTP.get(page).body) |
||
m = match(r"using any language you may know.</div>(.+)<div id=\"toc\""s, body) |
m = match(r"using any language you may know.</div>(.+)<div id=\"toc\""s, body) |
||
m != nothing && println(m.captures[1], "\n", "="^ |
m != nothing && println(replace(m.captures[1], r"<[^>]*>"s => ""), "\n", "="^60, "\n") |
||
i >= numtoprint && break |
i >= numtoprint && break |
||
sleep(rand(3:7)) # wait 5 +/- 2 seconds before processing next task |
sleep(rand(3:7)) # wait 5 +/- 2 seconds before processing next task |