301返回

This commit is contained in:
iyuu.cn
2020-01-03 05:17:02 +08:00
parent bbf4f5d40f
commit 8f3ec6a454

View File

@ -151,6 +151,7 @@ function download($url, $cookies, $useragent, $method = 'GET')
if (isset($status['http_code']) && $status['http_code'] == 302) {
return download($status['redirect_url'], $cookies, $useragent);
}
return $data;
}
/**