search

Home  >  Q&A  >  body text

Curl was relatively stable before grabbing the page, but then it outputted an empty page.

http://live.500.com/2h1.php

This is the address. I have constructed the IP origin and browser header file, etc. How can I crawl this URL

function curl_file_get_contents_nossl($durl){

$r = rand( 80,255);

$useragent = array(

'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)',

'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)',

'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)',

#
-Yang-Yang1963 days ago1248

reply all(1)I'll reply

  • -Yang

    -Yang2019-09-14 13:46:51

    It has been solved, but there is too much data,,,,

    reply
    0
  • Cancelreply