wayback_machine_downloader 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wayback_machine_downloader.rb +5 -2
- 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: a4e7141cf502ca6fdb1286d4b3b65b31a23b666e
|
4
|
+
data.tar.gz: 64cc94fce5c28656bbcd2dd961c7b9e687be0acd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a55afd26d458022341683dcb8ff833cc778677fc377430d23db7e1080649fb3ac4df22d54ba31c56a56a60596532bf7bb58d4644a5de41d709eb0d239f966eb4
|
7
|
+
data.tar.gz: d465ecaab102bc2c28657b79e26d7cd3dca96b82aad18e3200e62a1ac7b52929590ee6fb1ef1bf7977e27b7f54f11dd47b409d907de7d296a304d8e14e1d3cc0
|
@@ -9,7 +9,7 @@ require_relative 'wayback_machine_downloader/to_regex'
|
|
9
9
|
|
10
10
|
class WaybackMachineDownloader
|
11
11
|
|
12
|
-
VERSION = "0.4.
|
12
|
+
VERSION = "0.4.5"
|
13
13
|
|
14
14
|
attr_accessor :base_url, :from_timestamp, :to_timestamp, :only_filter, :exclude_filter, :all, :list
|
15
15
|
|
@@ -160,7 +160,10 @@ class WaybackMachineDownloader
|
|
160
160
|
end
|
161
161
|
rescue OpenURI::HTTPError => e
|
162
162
|
puts "#{file_url} # #{e}"
|
163
|
-
|
163
|
+
if @all
|
164
|
+
file.write(e.io.read)
|
165
|
+
puts "#{file_path} saved anyway."
|
166
|
+
end
|
164
167
|
rescue StandardError => e
|
165
168
|
puts "#{file_url} # #{e}"
|
166
169
|
end
|
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.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hartator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|