wayback_machine_downloader 0.5.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a09bb38fc8d8a248fe84bd05eda03a92b49cc16e
|
4
|
+
data.tar.gz: 13d4bbb5e2041c3414a568afdbe719e475e57039
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7070199a5c9935b6617d7c5a390756ca517acbbb28a193619e192a8c31b6b3cdaa83bbbbae3fbebfb4ce379af4bd2a0e12dd7969739b6cbcf00f357a997a9ded
|
7
|
+
data.tar.gz: b17716daad7329c37ff9a2e876bf443aed97878c69e41ac0143c9040955f67269070f5193f26ac7093050e9edc9def8084223c02805fdf3ebf38ba53b18bf554
|
@@ -10,9 +10,11 @@ module ArchiveAPI
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def parameters_for_api
|
13
|
-
parameters = "&fl=timestamp,original&
|
14
|
-
|
15
|
-
parameters += "&
|
13
|
+
parameters = "&fl=timestamp,original&gzip=false"
|
14
|
+
if @all
|
15
|
+
parameters += "&collapse=digest"
|
16
|
+
else
|
17
|
+
parameters += "&filter=statuscode:200&collapse=original"
|
16
18
|
end
|
17
19
|
if @from_timestamp and @from_timestamp != 0
|
18
20
|
parameters += "&from=" + @from_timestamp.to_s
|
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: 0.
|
4
|
+
version: 1.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: 2016-09-
|
11
|
+
date: 2016-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|