DEDE织梦采集详情页为空优化或提示:内容为非文本类型或网址重定向
经测试发现curl采集可能会被目标服务器302重定向。于是直接使用file_get_contents能正常使用。
文件路径:include/dedehttpdown.class.php
curl_setopt($this->m_ch, CURLOPT_CONNECTTIMEOUT, 20);
curl_setopt($this->m_ch, CURLOPT_TIMEOUT, 900);
$this->m_html = curl_exec($this->m_ch);
if(!$this->m_html) $this->m_html = file_get_contents($url);//加上这句