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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4788fe4e8cf006c42912383dae0bb64605827df
4
- data.tar.gz: 485e59c366e796bfb06a85e440394d8504226bf6
3
+ metadata.gz: a4e7141cf502ca6fdb1286d4b3b65b31a23b666e
4
+ data.tar.gz: 64cc94fce5c28656bbcd2dd961c7b9e687be0acd
5
5
  SHA512:
6
- metadata.gz: b7b6e02f7f406f7be9294086fdec552082c297e2f7165bf03b33c84f463d09c4cdf4ade6d3c18a04d80d1214753a576a4a5eae9ac4e6bdd1f5a70ec8aa422c94
7
- data.tar.gz: 1a1b634c00527d47bc52befa38ec38f4d58b64db4de4fcbb50d88fe2afac0476725563879ba596aa7d3fbab22d60f54276e4ad6d947c80cd04fa3ff377747042
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.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
- file.write(e.io.read)
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
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-03 00:00:00.000000000 Z
11
+ date: 2016-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake