Ignore urls with malformed file names #5

This commit is contained in:
hartator 2015-08-21 20:53:56 -05:00
parent 85bef6203a
commit f7d794b608

View File

@ -93,7 +93,7 @@ class WaybackMachineDownloader
puts "#{file_url} # #{e}"
end
end
rescue Errno::ENAMETOOLONG => e
rescue Errno::ENAMETOOLONG, Errno::EINVAL => e
puts "#{file_url} # #{e}"
end
puts "#{file_url} -> #{file_path} (#{count}/#{file_list_curated.size})"