当前位置:AIGC资讯 > 数据采集 > 正文

360影视php采集接口,基于360影视采集实例

下面分享一下简单360影视采集代码:

PHP代码:

error_reporting(0);

header("Content-type:text/html;charset=utf-8");

$info = file_get_contents("http://www.360kan.com/dianying/list.php?cat=all&year=all&area=all&act=all&rank=createtime");

$vname = "#(.*?)#";

$vlist = "##";

$vstar = "#

(.*?)

#";

$vimg = "#

\r\n #";

$nname = "#(.*?)#";

$fname = "#(.*?)#";

$array = array();

preg_match_all($vname, $info, $namea

更新时间 2023-11-08