wayback_archiver 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wayback_archiver/archive.rb +1 -10
- data/lib/wayback_archiver/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aee3e5d863178ea9283eb2b723e347d17aefa6b1
|
4
|
+
data.tar.gz: 597d40bdfa0d7538477dbbba3f6671a72f22d82a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37f2b0372499d7999eed48a80647218127de4d240c661260f18011456c281956cdf778aa3bd66852be08caa3f0cfc03fdf8668895644197c31d1889cb464ddbe
|
7
|
+
data.tar.gz: 505e63ed0e5ce661d96acee3e53d2c950f1e550e611ce64951d7011e76642f595f26e1cc6f522581e3253d1317c1496e861ace64a19032418deb7d14c4f4f991
|
@@ -22,16 +22,7 @@ module WaybackArchiver
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
25
|
-
threads.
|
26
|
-
print_index = index + 1
|
27
|
-
progress = '['
|
28
|
-
progress << '#' * print_index
|
29
|
-
progress << ' ' * (threads.length - print_index)
|
30
|
-
progress << ']'
|
31
|
-
procent = ((print_index.to_f/threads.length.to_f) * 100).round(0)
|
32
|
-
puts "[PROGRESS] #{progress} #{procent}% (#{print_index}/#{threads.length})"
|
33
|
-
thread.join
|
34
|
-
end
|
25
|
+
threads.each(&:join)
|
35
26
|
all_urls
|
36
27
|
end
|
37
28
|
end
|