mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-18 02:06:35 +00:00
Merge branch 'master' of https://github.com/niklasjansson/wayback-machine-downloader into niklasjansson-master
This commit is contained in:
commit
c360d4621f
@ -260,6 +260,7 @@ class WaybackMachineDownloader
|
||||
file_path = backup_path + file_path_elements[0..-1].join('/')
|
||||
end
|
||||
if Gem.win_platform?
|
||||
dir_path = dir_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
|
||||
file_path = file_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
|
||||
end
|
||||
unless File.exist? file_path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user