From ea73ed5ed6096effa7392cb2d95bbcf607f4b76d Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Wed, 15 Mar 2017 17:10:16 -0400 Subject: [PATCH] Shorten some lines for readability --- lib/wayback_machine_downloader.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/wayback_machine_downloader.rb b/lib/wayback_machine_downloader.rb index 913174b..5ac873b 100644 --- a/lib/wayback_machine_downloader.rb +++ b/lib/wayback_machine_downloader.rb @@ -16,7 +16,8 @@ class WaybackMachineDownloader VERSION = "1.1.5" - attr_accessor :base_url, :directory, :from_timestamp, :to_timestamp, :only_filter, :exclude_filter, :all, :list, :maximum_pages, :threads_count + attr_accessor :base_url, :directory, :from_timestamp, :to_timestamp, + :only_filter, :exclude_filter, :all, :list, :maximum_pages, :threads_count def initialize params @base_url = params[:base_url] @@ -78,7 +79,8 @@ class WaybackMachineDownloader end def get_all_snapshots_to_consider - # Note: Passing a page index parameter allow us to get more snapshots, but from a less fresh index + # Note: Passing a page index parameter allow us to get more snapshots, + # but from a less fresh index print "Getting snapshot pages" snapshot_list_to_consider = "" snapshot_list_to_consider += get_raw_list_from_api(@base_url, nil)