From a4fab49d7a7ab47a721b5d0777cb8ca06a10dc18 Mon Sep 17 00:00:00 2001 From: Katriel Cohn-Gordon Date: Tue, 4 Sep 2018 15:46:45 +0100 Subject: [PATCH] Use HTTPS link to dblp More security is better! DBLP redirects http to https anyway. --- exe/dblpbib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exe/dblpbib b/exe/dblpbib index 7887474..1a8cc04 100755 --- a/exe/dblpbib +++ b/exe/dblpbib @@ -61,7 +61,7 @@ class DBLPCLI begin File.write( path, - open("http://dblp.uni-trier.de/rec/bib1/#{key}.bib").read + open("https://dblp.uni-trier.de/rec/bib1/#{key}.bib").read ) rescue OpenURI::HTTPError => e puts "Failed to fetch key #{key} (#{e}) -- " \