From: Eduardo M KALINOWSKI Date: Fri, 25 Dec 2015 11:59:51 +0000 (-0200) Subject: Fetch only the headers in order to get the real article URL. X-Git-Tag: 16.3~68^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fb59c879326eb441a69d8e4a73cf6947be158fe6;p=tt-rss.git Fetch only the headers in order to get the real article URL. --- diff --git a/plugins/af_unburn/init.php b/plugins/af_unburn/init.php index 263997db..72f8a260 100755 --- a/plugins/af_unburn/init.php +++ b/plugins/af_unburn/init.php @@ -30,6 +30,7 @@ class Af_Unburn extends Plugin { curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); + curl_setopt($ch, CURLOPT_NOBODY, true); curl_setopt($ch, CURLOPT_USERAGENT, SELF_USER_AGENT); if (defined('_CURL_HTTP_PROXY')) {