mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2026-10-23 21:33:59 +00:00
增加run方法传入参数
This commit is contained in:
1 parent
9179fb52c3
commit
ce0ee0de19
35 files changed
+73
-73
No files matched your search
@@ -86,11 +86,11 @@ class Hdarea 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);
|
||||
#p($html);exit;
|
||||
if ( $html === null ) {
|
||||
exit(1);
|
||||
|
||||
Reference in new issue
Block a user