From 30927e626de1ef0885a1fe5e14bcf725e07cd417 Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 20 Sep 2016 14:42:36 +0200 Subject: [PATCH] Update esearch and efetch URLs to https Due to upcoming move to https-only by NCBI: http://www.ncbi.nlm.nih.gov/home/develop/https-guidance.shtml --- PubMedAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PubMedAPI.php b/PubMedAPI.php index 7f7a0e3..ed2d5f1 100644 --- a/PubMedAPI.php +++ b/PubMedAPI.php @@ -39,8 +39,8 @@ class PubMedAPI static public $proxy_password = ''; static public $curl_site_url = ''; - private $esearch = 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?'; - private $efetch = 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?'; + private $esearch = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?'; + private $efetch = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?'; public function query($term, $compact = false, $callback = false) {