Use HTTPS for Google Scholar in Retrieve Metadata for PDF
This commit is contained in:
parent
0ceb5ec9a9
commit
ef71a2c77c
1 changed files with 2 additions and 2 deletions
|
@ -697,7 +697,7 @@ var Zotero_RecognizePDF = new function() {
|
||||||
|
|
||||||
Zotero.debug("RecognizePDF: Query string " + queryString);
|
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 = GOOGLE_SCHOLAR_QUERY_DELAY - (Date.now() - Zotero.HTTP.lastGoogleScholarQueryTime);
|
||||||
|
|
||||||
// Delay
|
// Delay
|
||||||
|
@ -897,7 +897,7 @@ var Zotero_RecognizePDF = new function() {
|
||||||
formData.input[inputs[i].name] = inputs[i].value;
|
formData.input[inputs[i].name] = inputs[i].value;
|
||||||
}
|
}
|
||||||
|
|
||||||
formData.continue = "http://scholar.google.com";
|
formData.continue = "https://scholar.google.com";
|
||||||
|
|
||||||
return formData;
|
return formData;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue