How to get content of a javascript/ajax -loaded div on a site?

后端 未结 5 1529
滥情空心
滥情空心 2021-02-09 12:40

I have a PHP-script that loads page-content from another website by using CURL and simple_html_dom PHP library. This works great. If I echo out the HTML returned I can see the d

5条回答
  •  北荒
    北荒 (楼主)
    2021-02-09 13:31

    For this kind of screen scraping you could try phpQuery or Snoopy.

    phpQuery has a web browser plugin and scoopy claims to simulate one

提交回复
热议问题