http://v7.pstatp.com/676eb7ef96f4c8b3ea5009e6f6c9dde6/57e235a4/video/c/2c0bb1d4e35f41d2b913a7791d42b809/
这是今日头条的一个网页
但是可以看到,并非一个html5+video的网页,访问之后网页中会进行播放但是看不到后台的源代码
request也是很正常的?这是如何做到的?

解决方案 »

  1.   

    视频的貌似过期了,图像的还在,补一个吧:
    http://p1.pstatp.com/large/2071/7833939833
      

  2.   

    Array
    (
        [0] => HTTP/1.1 200 OK
        [1] => Date: Wed, 21 Sep 2016 11:08:01 GMT
        [2] => Server: nginx
        [3] => Content-Type: image/gif 一幅动画而已
        [4] => Content-Length: 2757045
        [5] => X-Response-Date: Wed, 21 Sep 2016 11:08:01 GMT
        [6] => Cache-Control: max-age=2592000
        [7] => Access-Control-Allow-Origin: http://slide.toutiao.com
        [8] => X-Via: 1.1 mdxxz64:7 (Cdn Cache Server V2.0), 1.1 angdianxin120:0 (Cdn Cache Server V2.0), 1.1 zhenjiang61:0 (Cdn Cache Server V2.0)
        [9] => Connection: close
    )
      

  3.   

    你的那个array怎么拿到的?
      

  4.   

    get_headers 函数
    你们都不看手册的吗?