mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Update progress bar formatting
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user