QueryList採集器開發(fā)手冊
/ run( ) 運行插件
run( ) 運行插件
run( ) 方法
返回值:需查看對應(yīng)的插件文檔
運行QueryList擴展
原型:
run($class,$args = array())
參數(shù): $class
類型:string
插件名稱
參數(shù): $args
類型:array
傳遞給插件的參數(shù)
例:
$login = QueryList::run('Login',[ 'target' => 'http://xxx.com/login.php', 'method' => 'post', 'params' => ['username'=>'admin','password'=>'admin'], 'cookiePath' => './cookie123.txt' ]); //........