mirror of
				https://gitee.com/ledc/IYUUAutoReseed
				synced 2025-10-31 00:39:50 +00:00 
			
		
		
		
	新增上报错误种子403状态码,例如:兼容杜比等站已删除种子返回403状态码的情况。
This commit is contained in:
		| @@ -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; | ||||
|                     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user