the script is as follows:
function main(splash, args)
splash:go{
"http://www.taobao.com",
headers={["User-Agent"]="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"}
}
splash:wait(10)
return {png=splash:png(),har=splash:har()}
end
the header of the browser agent is added, but the picture is not shown in the screenshot of the response. As shown in the figure
har4request,request
below, it is normal to visit JD.com. Is this because Taobao has made some restrictions?