doucan8521 2017-11-16 04:26
浏览 31

如何使用PHP IMDb Scraper API获取公司信用?

How to get Production Co: on Company Credits?

<h3 class="subheading">Company Credits</h3>
<div class="txt-block">
    <h4 class="inline">Production Co:</h4>
    <span itemprop="creator">
        <a href="company" itemprop='url'><span class="itemprop" itemprop="name">Inflatable Film</span></a>
    </span>,
    <span itemprop="creator">
        <a href="company" itemprop='url'><span class="itemprop" itemprop="name">True Productions</span></a>
    </span>
        <a href="companycredits?ref_=tt_dt_co" itemprop='url'>See more</a>&nbsp;&raquo;
    </span>
</div>

I'm trying to use this code but it's not working:

$arr['production_co'] = $this->match('/Production Co:<\/h4>.*?<div class="info-content">(.*?)(<a|<\/div)/ms', $html, 1);

Please help me to get Production Co.

I'm using PHP IMDb Scraper API

here my imdbclass http://bioskop2-1.com/imdbclass.txt

here the grab.txt http://bioskop2-1.com/grab.txt

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥500 52810做蓝牙接受端
    • ¥15 基于PLC的三轴机械手程序
    • ¥15 多址通信方式的抗噪声性能和系统容量对比
    • ¥15 winform的chart曲线生成时有凸起
    • ¥15 msix packaging tool打包问题
    • ¥15 finalshell节点的搭建代码和那个端口代码教程
    • ¥15 Centos / PETSc / PETGEM
    • ¥15 centos7.9 IPv6端口telnet和端口监控问题
    • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
    • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录