From ffc9ba95e50e3e3c4fdd6f78f0fa43accf5038f2 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 21 Jan 2022 17:20:30 +0100 Subject: keep cookies between redirects, needed on www.programme-tv.net --- it_url.class | 1 + 1 file changed, 1 insertion(+) 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 ]; -- cgit v1.2.3