wayback_machine_downloader_straw 2.3.4 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/wayback_machine_downloader.rb +3 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d04d7ddf4b722425377ce84ad5c0f917e35553e38edb755c029ae7a2b8f8055d
|
4
|
+
data.tar.gz: 3d93f41ef2ba3b366a3adf071b947eabb66caf931d022b7ad8a521d3930dfe27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 312dcd879a3589aa0a75d47296dbe04920eee06ae2fb83c18274d918d12517c8a2064c1e9e7a3c774e656636187cd5fc510f249ae71ea6a319cb437ee8d0314b
|
7
|
+
data.tar.gz: 8cd5dcd421077405f920a8ff966387817450e6169aa9578a9b5f25284d4100f1f5bf77304cda727f975464782064643c96d3ee0985a2b57e16aec523c9e17429
|
@@ -113,7 +113,7 @@ class WaybackMachineDownloader
|
|
113
113
|
|
114
114
|
include ArchiveAPI
|
115
115
|
|
116
|
-
VERSION = "2.3.
|
116
|
+
VERSION = "2.3.5"
|
117
117
|
DEFAULT_TIMEOUT = 30
|
118
118
|
MAX_RETRIES = 3
|
119
119
|
RETRY_DELAY = 2
|
@@ -538,10 +538,9 @@ class WaybackMachineDownloader
|
|
538
538
|
file_url = file_remote_info[:file_url].encode(current_encoding)
|
539
539
|
file_id = file_remote_info[:file_id]
|
540
540
|
file_timestamp = file_remote_info[:timestamp]
|
541
|
-
|
542
|
-
file_path_elements = original_file_id.split('/')
|
541
|
+
file_path_elements = file_id.split('/')
|
543
542
|
|
544
|
-
if
|
543
|
+
if file_id == ""
|
545
544
|
dir_path = backup_path
|
546
545
|
file_path = backup_path + 'index.html'
|
547
546
|
elsif file_url[-1] == '/' or not file_path_elements[-1].include? '.'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wayback_machine_downloader_straw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strawberrymaster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|