Initial implementation of --page-requisites

see StrawberryMaster/wayback-machine-downloader#39
This commit is contained in:
Felipe
2025-12-10 11:57:24 +00:00
committed by GitHub
parent 4d2513eca8
commit 2aa694eed0
4 changed files with 171 additions and 16 deletions

View File

@@ -86,6 +86,10 @@ option_parser = OptionParser.new do |opts|
options[:subdomain_depth] = t
end
opts.on("--page-requisites", "Download related assets (images, css, js) for downloaded HTML pages") do |t|
options[:page_requisites] = true
end
opts.on("-v", "--version", "Display version") do |t|
options[:version] = t
end