This website works better with JavaScript.
Home
Explore
Help
Sign In
TechnikNews
/
PublicAPIs
mirror of
https://github.com/public-apis/public-apis
Watch
1
Star
2
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Update progress bar formatting
pull/389/head
Dave Machado
7 years ago
committed by
GitHub
parent
267c7bc224
commit
e2b3ae925f
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
build/validate_links.rb
+ 2
- 1
build/validate_links.rb
View File
@@ -33,7 +33,8 @@ end
links = links.uniq
count = 0
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
links.each do |link|
begin
Write
Preview
Loading…
Cancel
Save