Jump to content

Web scraping: Difference between revisions

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
using Requests
 
function getusnotime()
Line 1,000 ⟶ 999:
 
if issuccess
println("The USNO time is ", t, " UTC")
else
println("Failed to fetch UNSO time:\n", t)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.