mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-11 16:28:12 -04:00
parent
bc64f64efe
commit
91847a44e5
@ -66,7 +66,7 @@ f = nil
|
||||
if not options.q then
|
||||
io.write("Downloading... ")
|
||||
end
|
||||
local result, response = pcall(internet.request, url)
|
||||
local result, response = pcall(internet.request, url, nil, {["user-agent"]="Wget/OpenComputers"})
|
||||
if result then
|
||||
local result, reason = pcall(function()
|
||||
for chunk in response do
|
||||
|
Loading…
x
Reference in New Issue
Block a user