wayback_machine_downloader 1.1.5 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/wayback_machine_downloader +5 -5
- data/lib/wayback_machine_downloader.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2132b28dea0a03978384a3b337b1107562e644a
|
4
|
+
data.tar.gz: e8b6421b78d02505a8498c79cd1761ebb28a3290
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1d0944e9593aadc02db950aa9826491d727f93c6185f23aac20b24b48da086ed67f2be76d91184d2709610b84160c2665ca4b30bcddfcd4981b6840c988e1d0
|
7
|
+
data.tar.gz: aa40fb4da67241e972c86631b9390703ec77643b17b7f62ae2cfbffe49f276ff6f77d901aac87df66aca94d6da7ec3d230ceb001aa9b47f697b5ef1c98b4194f
|
@@ -14,7 +14,7 @@ option_parser = OptionParser.new do |opts|
|
|
14
14
|
opts.separator ""
|
15
15
|
opts.separator "Optional options:"
|
16
16
|
|
17
|
-
opts.on("-d", "--directory PATH", String, "Directory to save the downloaded files into
|
17
|
+
opts.on("-d", "--directory PATH", String, "Directory to save the downloaded files into", "Default is ./websites/ plus the domain name") do |t|
|
18
18
|
options[:directory] = t
|
19
19
|
end
|
20
20
|
|
@@ -26,11 +26,11 @@ option_parser = OptionParser.new do |opts|
|
|
26
26
|
options[:to_timestamp] = t
|
27
27
|
end
|
28
28
|
|
29
|
-
opts.on("-o", "--only ONLY_FILTER", String, "Restrict downloading to urls that match this filter
|
29
|
+
opts.on("-o", "--only ONLY_FILTER", String, "Restrict downloading to urls that match this filter", "(use // notation for the filter to be treated as a regex)") do |t|
|
30
30
|
options[:only_filter] = t
|
31
31
|
end
|
32
32
|
|
33
|
-
opts.on("-x", "--exclude EXCLUDE_FILTER", String, "Skip downloading of urls that match this filter
|
33
|
+
opts.on("-x", "--exclude EXCLUDE_FILTER", String, "Skip downloading of urls that match this filter", "(use // notation for the filter to be treated as a regex)") do |t|
|
34
34
|
options[:exclude_filter] = t
|
35
35
|
end
|
36
36
|
|
@@ -38,11 +38,11 @@ option_parser = OptionParser.new do |opts|
|
|
38
38
|
options[:all] = true
|
39
39
|
end
|
40
40
|
|
41
|
-
opts.on("-c", "--concurrency NUMBER", Integer, "Number of multiple files to dowload at a time
|
41
|
+
opts.on("-c", "--concurrency NUMBER", Integer, "Number of multiple files to dowload at a time", "Default is one file at a time (ie. 20)") do |t|
|
42
42
|
options[:threads_count] = t
|
43
43
|
end
|
44
44
|
|
45
|
-
opts.on("-p", "--maximum-snapshot NUMBER", Integer, "Maximum snapshot pages to consider (Default is 100)
|
45
|
+
opts.on("-p", "--maximum-snapshot NUMBER", Integer, "Maximum snapshot pages to consider (Default is 100)", "Count an average of 150,000 snapshots per page ") do |t|
|
46
46
|
options[:maximum_pages] = t
|
47
47
|
end
|
48
48
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wayback_machine_downloader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hartator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|