首页 > 解决方案 > html解析的问题

问题描述

我正在使用 HTML 解析器,它适用于

<?php
 include_once('../simple_html_dom.php');

 echo file_get_html('http://www.google.com/')->plaintext;
?>

但是当我找到像这样的网址时

echo file_get_html('https://app.hyperping.io/public/XXX', false, stream_context_create($arrContextOptions))->plaintext;

它向我展示了类似的错误

服务状态 您需要启用 JavaScript 才能运行此应用程序。

但是当我在浏览器中检查时,它已经启用,请检查

在此处输入图像描述

我不知道为什么会这样

标签: javascriptphphtml-parsing

解决方案


推荐阅读