Fetch only the headers in order to get the real article URL.

This commit is contained in:
Eduardo M KALINOWSKI 2015-12-25 09:59:51 -02:00
parent a536f94c8d
commit fb59c87932

View file

@ -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')) {