mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-08-24 15:04:50 +00:00
增加run方法传入参数
This commit is contained in:
@@ -87,11 +87,11 @@ class Site52pt implements decodeBase
|
||||
* @param string
|
||||
* @return array
|
||||
*/
|
||||
public static function run()
|
||||
public static function run($url = 'torrents.php')
|
||||
{
|
||||
self::init();
|
||||
Rpc::init(self::SITE, self::METHOD);
|
||||
$html = self::get();
|
||||
$html = self::get($url);
|
||||
if ( $html === null ) {
|
||||
exit(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user