Skip to content

Commit 7f0b707

Browse files
committed
https link (to avoid 403 error on http scheme)
1 parent 9678ffa commit 7f0b707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wayback_machine_downloader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def download_file file_remote_info
269269
structure_dir_path dir_path
270270
open(file_path, "wb") do |file|
271271
begin
272-
open("http://web.archive.org/web/#{file_timestamp}id_/#{file_url}", "Accept-Encoding" => "plain", "User-Agent" => @user_agent) do |uri|
272+
open("https://web.archive.org/web/#{file_timestamp}id_/#{file_url}", "Accept-Encoding" => "plain", "User-Agent" => @user_agent) do |uri|
273273
file.write(uri.read)
274274
end
275275
rescue OpenURI::HTTPError => e

0 commit comments

Comments
 (0)