Files
2013-02-23 11:33:01 +01:00

14 lines
266 B
Lua

local url_count = 0
wget.callbacks.get_urls = function(file, url, is_css, iri)
-- progress message
url_count = url_count + 1
if url_count % 20 == 0 then
io.stdout:write("\r - Downloaded "..url_count.." URLs")
io.stdout:flush()
end
return {}
end