]> git.wh0rd.org Git - tt-rss.git/commitdiff
Fetch only the headers in order to get the real article URL.
authorEduardo M KALINOWSKI <eduardo@kalinowski.com.br>
Fri, 25 Dec 2015 11:59:51 +0000 (09:59 -0200)
committerEduardo M KALINOWSKI <eduardo@kalinowski.com.br>
Fri, 25 Dec 2015 11:59:51 +0000 (09:59 -0200)
plugins/af_unburn/init.php

index 263997dbf330a70c17c3758093a836f6f8efe2db..72f8a2606aad81ec036ed3cd9c0c7a677b29e1c5 100755 (executable)
@@ -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')) {