用Browser 看卻是正常的
# curl -I https://www.tricore.com.tw
QUOTE:
HTTP/2 404
date: Thu, 25 Feb 2021 07:25:34 GMT
server: Apache
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=c47fdaa40021f0a9e34e26be49b66951; path=/; HttpOnly
set-cookie: lngID=tw; expires=Fri, 25-Feb-2022 07:25:34 GMT; Max-Age=31536000; path=/
content-type: text/html; charset=UTF-8
上網查了一些做法,發現要改用這個參數,就可以正確抓取
# curl -svo. https://www.tricore.com.tw