mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-29 16:16:06 +00:00
Avoid making 2 times the request to get raw file list
This commit is contained in:
@@ -27,7 +27,7 @@ class WaybackMachineDownloaderTest < Minitest::Test
|
||||
file_url: "http://www.onlyfreegames.net:80/Fs-06.jpg",
|
||||
timestamp: 20060716125343
|
||||
}
|
||||
assert_equal file_expected, @wayback_machine_downloader.file_list_by_timestamp[-1]
|
||||
assert_equal file_expected, @wayback_machine_downloader.get_file_list_by_timestamp[-1]
|
||||
end
|
||||
|
||||
def test_file_download
|
||||
|
||||
Reference in New Issue
Block a user