0

我只想要json部分的数据怎么办?前面的那些不想要应该怎么处理?

HTTP/1.1 200 OK Server: nginx Date: Sat, 09 Nov 2019 04:24:48 GMT Content-Type: application/json;
charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive //只想要下面的这些数据
{"code":0,"msg":"解析成功","data":"https://v26-dy.ixigua.com/b23061be250bb9d6fb56835f32a83563/5d
c64dad/video/m/220248b1ae2c00a4ce3a6052efb6c4e094111640cafd0000a357db2733d0/?
a=1128&br=1566&cr=0&cs=0&dr=0&ds=6&er=&l=2019110912244801001202210910976F&lr=
&qs=0&rc=Mzh2eHU1Z2ZkcTMzN2kzM0ApaWZkODY0O
ztoNzRpPDQ1O2dnNWtjYTVfbi5fLS0zLS9zczBfMDNfLWE2MzRfLjQwNi06Yw=="}"
11月9日提问

1 个回答

0

已采纳

curl_setopt($curl, CURLOPT_HEADER, 0);

推广链接