File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ class WaybackMachineDownloader
115
115
include ArchiveAPI
116
116
include SubdomainProcessor
117
117
118
- VERSION = "2.3.12 "
118
+ VERSION = "2.3.11 "
119
119
DEFAULT_TIMEOUT = 30
120
120
MAX_RETRIES = 3
121
121
RETRY_DELAY = 2
@@ -352,16 +352,6 @@ def get_composite_snapshot_file_list(target_timestamp)
352
352
file_versions . values
353
353
end
354
354
355
- # Returns a list of files for the composite snapshot
356
- def get_file_list_composite_snapshot ( target_timestamp )
357
- file_list = get_composite_snapshot_file_list ( target_timestamp )
358
- file_list = file_list . sort_by { |_ , v | v [ :timestamp ] . to_s } . reverse
359
- file_list . map do |file_remote_info |
360
- file_remote_info [ 1 ] [ :file_id ] = file_remote_info [ 0 ]
361
- file_remote_info [ 1 ]
362
- end
363
- end
364
-
365
355
def get_file_list_curated
366
356
file_list_curated = Hash . new
367
357
get_all_snapshots_to_consider . each do |file_timestamp , file_url |
@@ -694,6 +684,7 @@ def download_file (file_remote_info, http)
694
684
file_timestamp = file_remote_info [ :timestamp ]
695
685
696
686
# sanitize file_id to ensure it is a valid path component
687
+ file_id = file_id . tidy_bytes if file_id
697
688
raw_path_elements = file_id . split ( '/' )
698
689
699
690
sanitized_path_elements = raw_path_elements . map do |element |
You can’t perform that action at this time.
0 commit comments