From 1ab39481c9fd25ac2aa192329f80975643ffd48d Mon Sep 17 00:00:00 2001 From: hartator Date: Sat, 30 Jul 2016 14:30:49 -0500 Subject: [PATCH] Add verbosity to timestamp errors --- lib/wayback_machine_downloader.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/wayback_machine_downloader.rb b/lib/wayback_machine_downloader.rb index f975e3c..933d617 100644 --- a/lib/wayback_machine_downloader.rb +++ b/lib/wayback_machine_downloader.rb @@ -110,6 +110,8 @@ class WaybackMachineDownloader puts "No files to download." puts "Possible reaosons:" puts "\t* Site is not in Wayback Machine Archive." + puts "\t* From timestamp too much in the future." if @from_timestamp and @from_timestamp != 0 + puts "\t* To timestamp too much in the past." if @to_timestamp and @to_timestamp != 0 puts "\t* Only filter too restrictive (#{only_filter.to_s})" if @only_filter puts "\t* Exclude filter too wide (#{exclude_filter.to_s})" if @exclude_filter return