summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2022-01-21 17:20:30 +0100
committerUrban Müller2022-01-21 17:20:30 +0100
commitffc9ba95e50e3e3c4fdd6f78f0fa43accf5038f2 (patch)
treeb41c9cb92bd1773051f827daacd49c35f791364f
parent675a224fc7c03b7341a84a7d5d968c89ff557704 (diff)
downloaditools-ffc9ba95e50e3e3c4fdd6f78f0fa43accf5038f2.tar.gz
itools-ffc9ba95e50e3e3c4fdd6f78f0fa43accf5038f2.tar.bz2
itools-ffc9ba95e50e3e3c4fdd6f78f0fa43accf5038f2.zip
keep cookies between redirects, needed on www.programme-tv.net
-rw-r--r--it_url.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class
index 87caa33..a324afb 100644
--- a/it_url.class
+++ b/it_url.class
@@ -231,6 +231,7 @@ static function curl_opts($p=array())
$add += [CURLOPT_SSLCERT => $p['sslcert']];
$add += $p['curlinfo'] ? [CURLINFO_HEADER_OUT => 1] : [];
+ $add += [CURLOPT_COOKIEFILE => ""];
if ($p['verbose'] || EDC('curlverbose'))
$add += [ CURLOPT_VERBOSE => true ];