mirror of
				https://gitee.com/ledc/IYUUAutoReseed
				synced 2025-10-31 16:59:49 +00:00 
			
		
		
		
	移除SSD站点辅种计数器。
This commit is contained in:
		| @@ -416,16 +416,6 @@ class AutoReseed | |||||||
|                     $reseedPass = false; |                     $reseedPass = false; | ||||||
|                     // 特殊站点:种子元数据推送给下载器 |                     // 特殊站点:种子元数据推送给下载器 | ||||||
|                     switch ($siteName) { |                     switch ($siteName) { | ||||||
|                         case 'ssd': |  | ||||||
|                             // 辅种计数器 |  | ||||||
|                             if ( isset($configALL[$siteName]['count']) ) { |  | ||||||
|                                 if ( $configALL[$siteName]['count'] > 10) { |  | ||||||
|                                     $configALL[$siteName]['limit'] = 1; |  | ||||||
|                                 }                                 |  | ||||||
|                             } else { |  | ||||||
|                                 $configALL[$siteName]['count'] = 0; |  | ||||||
|                             } |  | ||||||
|                             break; |  | ||||||
|                         case 'hdchina': |                         case 'hdchina': | ||||||
|                             $cookie = isset($configALL[$siteName]['cookie']) ? $configALL[$siteName]['cookie'] : ''; |                             $cookie = isset($configALL[$siteName]['cookie']) ? $configALL[$siteName]['cookie'] : ''; | ||||||
|                             $userAgent = $configALL['default']['userAgent']; |                             $userAgent = $configALL['default']['userAgent']; | ||||||
| @@ -539,12 +529,6 @@ class AutoReseed | |||||||
|                         case 'hdcity': |                         case 'hdcity': | ||||||
|                             $url = $_url; |                             $url = $_url; | ||||||
|                             break; |                             break; | ||||||
|                         case 'ssd': |  | ||||||
|                             // 辅种计数器 |  | ||||||
|                             if ($ret) { |  | ||||||
|                                 $configALL[$siteName]['count']++; |  | ||||||
|                             } |  | ||||||
|                             break; |  | ||||||
|                         default: |                         default: | ||||||
|                             break; |                             break; | ||||||
|                     } |                     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user