simple-html-dom

    -2热度

    1回答

    我试图获取使用simplehtmldom的元素,但我没有成功。 include("simple_html_dom.php"); $url = 'https://oload.stream/f/iNzieKbekMM/Perleshje_nga_blloku_i_qelive_99.mp4'; $html = file_get_html($url); foreach ($html->find('

    2热度

    1回答

    <table> <tr> <th>Year</th> <th>Score</th> </tr> <tr> <td>2014</td> <td>3078</td> </tr> </table> 如果我把上面的表成功存储为一个变量,我怎么能将它附加到具有overflow-x样式属性的div? 我试过下面的代码片段,但没有雪茄: $div = str

    0热度

    2回答

    我要解析的HTML结构是这样的: <div class='container> <div class='inner-div'> <span class='text'>...</span> <div class='author'> <span data-author='Alpha'>...</span> </div> <div

    0热度

    1回答

    错误消息超时: PHP警告: 的file_get_contents(https://search.rakuten.co.jp/search/mall/%E3%81%B5%E3%82%8B%E3%81%95%E3%81%A8%E7%B4%8D%E7%A8%8E/): 未能打开流:连接在/root/apps/kpi_tool_poc/simple_html_dom.php超时上线76, Referer

    0热度

    1回答

    我就开始玩简单的HTML末日解析器和我有一些麻烦: 的HTML代码如下: <div class="players"> <ul class="dane"> <li> <div class="name">Messi</div> <div class="value">Barcelona</div> </li> <li>

    -2热度

    2回答

    所以问题是,当上传到MySQL数据库只上传数组中的最后一个值。 if (substr($avsnitt["serier"], 0, 16) === 'http://random'){ // Create DOM from URL or file $html = file_get_html($avsnitt["serier"]);

    0热度

    1回答

    背景:我们使用句柄模板。小的,只需要一次,我们插入内部脚本,内部HTML。 HTML是预先翻译的,一次发布。 问题: 随着simple_html_dom我们发现的所有相关条文。 除了那些在脚本标签中的人! 例 “正常” <h5 class="ues mt-1">Anmerkung ändern {bezeichnung}</h5> 内部脚本 <script id="template-Liste

    0热度

    2回答

    如何使用SimpleHTMLDOM从iframe标记中获取“thesrc”链接? 页面的源,我想从数据: <div class="ui-tab-pane" data-role="panel" id="feedback"> <iframe scrolling="no" frameborder="0" marginwidth="0" marginheight="0" width="100%" he

    0热度

    2回答

    我有一个HTML表格,格式如下:正如你所看到的,第一个标题1有一个与之相关的行1。第二个标题2有两行 - 第2行,第3行与它关联。标题3具有与其相关的第4行,第5行,第6行。 <table> <thead> <tr> <th>Header 1</th> </tr> </thead> <tbody> <tr> <td>

    0热度

    2回答

    荫使用simple_HTML_dom,我想刮了分页和表数据,所以我需要得到分页的最大数,这里的HTML代码: <ul class='page'> <li class='current'>1</li> <li><a href='stok.php?id=2&kode=%'>2</a></li> <li><a href='stok.php?id=3&kode