]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_unburn/init.php
Fetch only the headers in order to get the real article URL.
[tt-rss.git] / 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')) {