mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-02 23:15:21 +00:00
新增上报错误种子403状态码,例如:兼容杜比等站已删除种子返回403状态码的情况。
This commit is contained in:
parent
290bfbe5c9
commit
ffb600c334
@ -218,6 +218,8 @@ class AutoReseed
|
||||
$errmsg = isset($result['result']) ? $result['result'] : '未知错误,请稍后重试!';
|
||||
if (strpos($errmsg, 'http error 404: Not Found') !== false) {
|
||||
self::sendNotify('404');
|
||||
} else if (strpos($errmsg, 'http error 403: Forbidden') !== false) {
|
||||
self::sendNotify('403');
|
||||
}
|
||||
print "-----RPC添加种子任务,失败 [{$errmsg}]" . PHP_EOL.PHP_EOL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user