mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-10 07:36:47 +02:00
Update progress bar formatting
This commit is contained in:
parent
267c7bc224
commit
e2b3ae925f
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue