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