Experimental ability to rewrite URLs to local browsing

This commit is contained in:
Felipe
2025-05-18 16:44:52 +00:00
committed by GitHub
parent a7a25574cf
commit e28d7d578b
2 changed files with 104 additions and 1 deletions

View File

@@ -62,6 +62,10 @@ option_parser = OptionParser.new do |opts|
options[:rewritten] = true
end
opts.on("--local", "Rewrite URLs to make them relative for local browsing") do |t|
options[:rewrite] = true
end
opts.on("--reset", "Delete state files (.cdx.json, .downloaded.txt) and restart the download from scratch") do |t|
options[:reset] = true
end