Use HTTPS for Google Scholar in Retrieve Metadata for PDF

This commit is contained in:
Dan Stillman 2017-07-23 00:44:56 -04:00
parent 0ceb5ec9a9
commit ef71a2c77c

View file

@ -697,7 +697,7 @@ var Zotero_RecognizePDF = new function() {
Zotero.debug("RecognizePDF: Query string " + queryString);
var url = "http://scholar.google.com/scholar?q="+encodeURIComponent(queryString)+"&hl=en&lr=&btnG=Search",
var url = "https://scholar.google.com/scholar?q="+encodeURIComponent(queryString)+"&hl=en&lr=&btnG=Search",
delay = GOOGLE_SCHOLAR_QUERY_DELAY - (Date.now() - Zotero.HTTP.lastGoogleScholarQueryTime);
// Delay
@ -897,7 +897,7 @@ var Zotero_RecognizePDF = new function() {
formData.input[inputs[i].name] = inputs[i].value;
}
formData.continue = "http://scholar.google.com";
formData.continue = "https://scholar.google.com";
return formData;
}