mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +00:00
Add to timestamp option
This commit is contained in:
parent
f21f14c676
commit
92e687cfd6
@ -10,11 +10,12 @@ class WaybackMachineDownloader
|
||||
|
||||
VERSION = "0.3.0"
|
||||
|
||||
attr_accessor :base_url, :timestamp, :only_filter, :exclude_filter
|
||||
attr_accessor :base_url, :from_timestamp, :to_timestamp, :only_filter, :exclude_filter
|
||||
|
||||
def initialize params
|
||||
@base_url = params[:base_url]
|
||||
@timestamp = params[:timestamp].to_i
|
||||
@from_timestamp = params[:from_timestamp].to_i
|
||||
@to_timestamp = params[:to_timestamp].to_i
|
||||
@only_filter = params[:only_filter]
|
||||
@exclude_filter = params[:exclude_filter]
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user