mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-18 02:06:35 +00:00
Format seconds to avoid too long output
This commit is contained in:
parent
85a9fae671
commit
5696853e23
@ -152,7 +152,7 @@ class WaybackMachineDownloader
|
|||||||
threads.each(&:join)
|
threads.each(&:join)
|
||||||
end_time = Time.now
|
end_time = Time.now
|
||||||
puts
|
puts
|
||||||
puts "Download complete in #{end_time - start_time}s, saved in #{backup_path} (#{file_list_by_timestamp.size} files)"
|
puts "Download completed in #{(end_time - start_time).round(2)}s, saved in #{backup_path} (#{file_list_by_timestamp.size} files)"
|
||||||
end
|
end
|
||||||
|
|
||||||
def structure_dir_path dir_path
|
def structure_dir_path dir_path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user