Update progress bar formatting

This commit is contained in:
Dave Machado 2017-07-24 11:24:31 -04:00 committed by GitHub
parent 267c7bc224
commit e2b3ae925f

View file

@ -33,7 +33,8 @@ end
links = links.uniq links = links.uniq
count = 0 count = 0
total = links.length total = links.length
progressbar = ProgressBar.create(:total => total) progressbar = ProgressBar.create(:total => total,
:format => "%a %P% | Processed: %c from %C")
# GET each link and check for valid response code from allowed_codes # GET each link and check for valid response code from allowed_codes
links.each do |link| links.each do |link|
begin begin