mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2026-10-23 13:24:11 +00:00
301返回
This commit is contained in:
1 parent
bbf4f5d40f
commit
8f3ec6a454
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user