mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +00:00
Clarify if assignement condition
This commit is contained in:
parent
2f7c614920
commit
238924477b
@ -27,7 +27,7 @@ option_parser = OptionParser.new do |opts|
|
||||
end
|
||||
end.parse!
|
||||
|
||||
if base_url = ARGV[-1]
|
||||
if (base_url = ARGV[-1])
|
||||
wayback_machine_downloader = WaybackMachineDownloader.new base_url: base_url, timestamp: options[:timestamp], only_filter: options[:only_filter]
|
||||
wayback_machine_downloader.download_files
|
||||
elsif options[:version]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user