wayback_machine_downloader 1.1.0 → 1.1.1

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: 88515e4c80ca24904b31eb4261287894176a35a4
4
- data.tar.gz: b7d82944989a68cb64c84fc78bc7bbbcce15d58b
3
+ metadata.gz: 6dd3fa14db3c1b3f109fec3ac2944d02118d2341
4
+ data.tar.gz: e1484e0f535d1c9bdb6f4de06a94028a422bf690
5
5
  SHA512:
6
- metadata.gz: 3567625f16ff6b38ce3da0b0e720f1a20a16ee2aef34ab5085eaa320dba72f7fad1e42e644704af6ff70506c24fc778fd690a2268386eb226e43010bf7724029
7
- data.tar.gz: cd81b5a1b75a1e077806966c9d253d171167d81c09b49cfcdde8e315193142907a49a6d99e062ee4925aeaf9885621d2195d5d358c9e9e0f1bf2ae4ef55df26f
6
+ metadata.gz: 25e2fea35c30b509d29e17b7c74489a0c641cd278632ed942a8e398d059701d0b39e49f0aac0c94eb609a53655e5ec5de2917b4a62336b8763ef8bbba808de11
7
+ data.tar.gz: f7e5c53a62cf1091963be758904365a82de9d255605bd6a189a2d0bdf809667274fc48885cae2360094caaf3a4d5a66917c956065af747396d33028f124a5913
@@ -13,7 +13,7 @@ class WaybackMachineDownloader
13
13
 
14
14
  include ArchiveAPI
15
15
 
16
- VERSION = "1.1.0"
16
+ VERSION = "1.1.1"
17
17
 
18
18
  attr_accessor :base_url, :directory, :from_timestamp, :to_timestamp, :only_filter, :exclude_filter, :all, :list, :maximum_pages, :threads_count
19
19
 
@@ -77,10 +77,13 @@ class WaybackMachineDownloader
77
77
  end
78
78
 
79
79
  def get_all_snapshots_to_consider
80
+ # Note: Passing a page index parameter allow us to get more snapshot, but from a less fresh index
80
81
  print "Getting snapshot pages"
81
82
  snapshot_list_to_consider = ""
82
83
  snapshot_list_to_consider += get_raw_list_from_api(@base_url, nil)
83
84
  print "."
85
+ snapshot_list_to_consider += get_raw_list_from_api(@base_url + '/*', nil)
86
+ print "."
84
87
  @maximum_pages.times do |page_index|
85
88
  snapshot_list = get_raw_list_from_api(@base_url + '/*', page_index)
86
89
  break if snapshot_list.empty?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wayback_machine_downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hartator