Closed hubo123 closed 5 months ago
我想获取整个hmtl文档的text文本,但是这里面有script标签的内容,我想排除掉script里的文本,怎么写
$rules = [ "context" => [".ele", "text", "-script"] ];
过滤用法文档:https://querylist.cc/docs/api/v4/rules
我想获取整个hmtl文档的text文本,但是这里面有script标签的内容,我想排除掉script里的文本,怎么写