Anonymous user
Web scraping: Difference between revisions
→{{header|Julia}}
Line 981:
=={{header|Julia}}==
I'm using the <code>Requests.jl</code> package for this solution. Note, I used a slightly different URL after finding that the one specified in the task description is deprecated (though it still works).
<lang Julia>using Requests
function getusnotime()
Line 1,000 ⟶ 999:
if issuccess
println("The USNO time is ", t
else
println("Failed to fetch UNSO time:\n", t)
|