【发布时间】:2020-06-16 04:32:10
【问题描述】:
我通过 file_get_contents 然后preg_match pics 获取数据,它已经工作了两年,但现在停止了。 Insta 拒绝并加载空的 html 页面。你知道怎么解决吗?
<?
file_get_contents("https://www.instagram.com/explore/tags/roofers");
preg_match( "/window._sharedData \=(.+),\"is_canary/im", $str, $matches );
...
?>
【问题讨论】:
标签: php instagram file-get-contents