Grab a link on Taobao with file_get_contents

$url = "https://s.taobao.com/search?q=&imgfile=&js=1&stats_click=search_radio_all%253A1&initiative_id=staobaoz_20181205&ie=utf8&tfsid=TB16_Lnt3DqK1RjSZSyXXaxEVXa&app=imgsearch";        
        $html = file_get_contents($url);
        echo $html;

it"s OK to open this link with a browser, but when you grab it with file_get_contents, the output is the Taobao login interface. What"s going on?

Php
Jan.12,2022

1, missing cookie information
2, missing header header information, is identified as a crawler

Menu